News for hackers. Stuff that matters.
Re:RegExr by zmix on Monday August 05, 2019 @05:53PM (#20619451)
These: regex101.com and regexper.com !

Regexper will render your regular expression as a friggin' railroad diagram!! It's extremely handy when debugging your regex or to understand those super complex, multiline regexes, that someone has posted to Stack Overflow.

Both regular-expressions.info and rexegg.com are incredibly good explanations of Regular Expressions.

regular-expressions.info is even available as a PDF e-book against a tip of your choice.

Re:RegExr by mgaw on Monday August 05, 2019 @03:52PM (#20618132)
Here is one for Ruby: https://rubular.com/
Re:RegExr by bklaasen on Monday August 05, 2019 @06:41PM (#20619942)
Time for a shout-out to Lea Verou's terrific fifty-minute tutorial "Regexplained" and accompanying regex playground:

https://youtu.be/EkluES9Rvak

https://regexplained.com/

Re:RegExr by lpellis on Monday August 05, 2019 @03:12PM (#20617553)
And for python this one is nice: https://pythex.org/
Re:RegExr by ehsankia on Tuesday August 06, 2019 @02:42AM (#20622769)
Regex101 let's you switch mode, and has a python regex one.
Re:RegExr by fb03 on Tuesday August 06, 2019 @09:43AM (#20625067)
pythex works ok but it's UI/UX is worse than regex101 (which as a friend state, has pythonre capabilities as well.

try regex101 and you won't look back.

Re:RegExr by jonny_eh on Monday August 05, 2019 @03:55PM (#20618161)
Thanks for the list, but are they all the same? Why go to one over the other?
Re:RegExr by ehsankia on Tuesday August 06, 2019 @02:43AM (#20622772)
It makes me wonder, is there something about Regex that makes people want to create so many tools for it, even after so many other ones already exist?
Re:RegExr by DominoTree on Monday August 05, 2019 @06:33PM (#20619860)
Some support other varieties of RegEx, and some have interesting features or different interfaces
Re:RegExr by msravi on Tuesday August 06, 2019 @12:44AM (#20622204)
Not sure if it's completely comprehensive, but the clearest tutorial/reference of regex's that I've used is in the book "The AWK Programming Language" by Aho, Kernighan, Weinberger.

https://ia902309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoI...

Re:RegExr by sk5t on Tuesday August 06, 2019 @01:47AM (#20622492)
That is a nice introduction indeed. Afterwards, to get a taste for more complex matching, maybe the Perl / PCRE docs.

https://perldoc.perl.org/perlre.html

Re:RegExr by asicsp on Tuesday August 06, 2019 @01:01AM (#20622281)
I especially like debuggex for debugging/teaching purposes, here's an example: https://www.debuggex.com/r/SMLRfiyt0Ag2hXu5
Re:RegExr by drewroberts on Tuesday August 06, 2019 @02:20AM (#20622656)
Thank you for posting these links. I'm lost whenever I attempt something with Regex.
Re:RegExr by eridius on Monday August 05, 2019 @04:51PM (#20618784)
Are there any online regex testers for ICU regexes?