Back to front pageView on Hacker News (opens in a new tab)Show HN: RegEx for Regular Folk – A visual, example-based introduction (opens in a new tab)refrf.shreyasminocha.me502 pointsby shreyasminocha (on Hacker News)6 years agoComments (108) 46 threadsShow all commentsShowing thread 27 of 46[-]mycall6 years ago1 reply#Recursive RegEx has always been confusing to me.https://www.rexegg.com/regex-recursion.htmlasicsp6 years ago#Railroad diagrams may help. I use a three step approach to present one example of recursion, which includes showing the difference between two-level nesting vs recursive version [1]. This is the railroad visualization for two-level [2].[1] https://github.com/learnbyexample/py_regular_expressions/blo...[2] https://www.debuggex.com/r/SMLRfiyt0Ag2hXu5
Show HN: RegEx for Regular Folk – A visual, example-based introduction (opens in a new tab)refrf.shreyasminocha.me502 pointsby shreyasminocha (on Hacker News)6 years ago
mycall6 years ago1 reply#Recursive RegEx has always been confusing to me.https://www.rexegg.com/regex-recursion.html
asicsp6 years ago#Railroad diagrams may help. I use a three step approach to present one example of recursion, which includes showing the difference between two-level nesting vs recursive version [1]. This is the railroad visualization for two-level [2].[1] https://github.com/learnbyexample/py_regular_expressions/blo...[2] https://www.debuggex.com/r/SMLRfiyt0Ag2hXu5
Comments (108) 46 threads
Show all comments
Showing thread 27 of 46
https://www.rexegg.com/regex-recursion.html
[1] https://github.com/learnbyexample/py_regular_expressions/blo...
[2] https://www.debuggex.com/r/SMLRfiyt0Ag2hXu5