ANN: RegularExpressions.jl

A human readable API for regular expressions. Still missing a couple of trickier REGEX features (recursion, conditionals, call-backs), mostly because I don’t understand them (halp!).


I think I’ve been using regex too long - your example looks less readable to me than ^(http(s?):\/\/)?(www\.)+[a-zA-Z0-9\.\-\_]+(\.[a-zA-Z]{2,3})+(\/[a-zA-Z0-9\_\-\s\.\/\?\%\#\&\=]*)?$

What is wrong with me?!? :laughing:

But seriously, this looks pretty cool!


I find the rexegg site helpful

1 Like

I believe the dev version now supports all features of PCRE2

1 Like

Nice project! Another website I found very helpful is What I like about it is the syntax highlighting and the interactive testing tools and information they have.

Would be cool if there was a display output in Julia for regex with colored syntax highlighting.

Yes, I use all the time to test that my regex’s actually work and to figure out the captures.