Show HN: RegEx for Regular Folk – A visual, example-based introduction
refrf.shreyasminocha.me
Show HN: RegEx for Regular Folk – A visual, example-based introduction
1–10 of 113 posts
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#2Link saved for later. Looks really well done!
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#3Very clear and concise with simple presentation. Good job!
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#4Final exam here: https://www.i-programmer.info/news/144-graphics-and-games/54...
:)
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#5Neatly presented.
However, I'd suggest to reorganize the chapters so that features not yet introduced aren't shown in examples without explanations. For example, you explain anchors and quantifiers many chapters later but use them liberally in earlier chapters without explaining them.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#6This is looking great. Thank you.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#7Recursive RegEx has always been confusing to me.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#8Recursive RegEx has always been confusing to me. https://www.rexegg.com/regex-recursion.html
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...
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#9Final exam here: https://www.i-programmer.info/news/144-graphics-and-games/54... :)
This is truly wonderful haha Thank you for sharing
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#10I like the example based approach. I learn from examples far quicker than I learn from “explanations”. If I attempt to learn from an example and my brain hits an exception, only then do I start reading the supporting text.
Nice approach. You’ve made a valuable thing and implemented a powerful idea.