Back to front pageView on Hacker News (opens in a new tab)Show HN: Regex Cheatsheet (opens in a new tab)ihateregex.io499 pointsby geongeorgek (on Hacker News)6 years agoihateregex.io (opens in a new tab)iHateRegex — Understand, test, and share regexA modern regular expression playground with live matching, visual railroad diagrams, rich notes, and easy sharing.Comments (129) 40 threadsShow all commentsShowing thread 20 of 40[-]dan_hawkins6 years ago1 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"?[-]jve6 years ago1 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 timesgeongeorgek6 years ago#Yep you are right
Show HN: Regex Cheatsheet (opens in a new tab)ihateregex.io499 pointsby geongeorgek (on Hacker News)6 years ago
dan_hawkins6 years ago1 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"?
jve6 years ago1 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
Comments (129) 40 threads
Show all comments
Showing thread 20 of 40
Because if I specify x{0,3}, i have 2 paths - around x and thru x + at most 2 more times