Lurker News

Comments (129) 40 threads

Show all comments

Showing thread 20 of 40

dan_hawkins1 reply#
Is there a bug? In regexp for IPv4: https://ihateregex.io/expr/ip expression ends with {3} but the diagram states "2 times" in lower right - shouldn't it say "3 times"?
jve1 reply#
I think it says "repeat 2" times. So basically you'v already went through the group and then 2 more times.

Because if I specify x{0,3}, i have 2 paths - around x and thru x + at most 2 more times

geongeorgek#
Yep you are right