re: How to write regex in natural language VIEW POST


I don't think this really removes the challenges of reading a regular expression. If you're already familiar with regex the is some benefits for things like the non-capturing group.

But when you need to go back and modify a regex it is more nuanced than just "I don't remember what (?: is" all of the tool to check your regex against inputs can be thrown out when using this syntax.

Most of what I have to say were addressed by Adam and DGM, but I don't think they cover your second point very well.

"how about all the very easy to understand, non compact, non cryptic and dare I say pretty domain languages out there like SQL or LINQ?"



Code of Conduct Report abuse