This is looking great. Thank you.
Also, I rely on https://regexr.com/ for interactive RE debugging.
Show HN: RegEx for Regular Folk – A visual, example-based introduction
31–40 of 113 posts
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#32I 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.
Docs are really good for discovery and should cover many topics shallowly so you can glean a big picture quickly. I generally don't like going to them for specs that could have just been an error message, a type, or a better naming convention.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#33Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#34FWIW Cisco Umbrella is blocking/reporting your site as a security threat.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#35Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#36Decent guide. It's great that all the examples are linked to https://regex101.com/ so people can play/explore! More regex resources I rely on: http://www.regexr.com/ https://gchq.github.io/CyberChef https://regexper.com/#.%3F%5Bv%2Ci%5D.* https://cheatography.com/davechild/cheat-sheets/regular-expr...
The examples are linked to RegExr! There's a link titled `[RegExr]` in blue next to each example. Also, those are some amazing resources, especially CyberChef.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#37Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#38Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#39The BASIC lesson doesn't mention anything about /g. Having not touched regex in years I had no idea what that was and kept thinking 'why isn't he showing it matching a g if he has that in the example'.
Re: Show HN: RegEx for Regular Folk – A visual, example-based introduction
#40Neatly 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.
Yep, thanks for pointing that out. I was finding it tricky to present features in isolation without making the examples trivial. I'll work on making things clearer.