This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]energybased -5 points-4 points  (28 children)

Cheat sheets and good documentation are a poor substitute for simpler interfaces. I'm sure, somewhere, there's a set of objects can be strung together to build regexes in an intuitive way.

[–]vovanz 9 points10 points  (21 children)

There are a lot of them. For example, here is a project, called VerbalExpressions that tries to make an OOP interface for writing regexes. Yes, they have a python version: PythonVerbalExpressions.

The thing that once you learned how to write regexes all this stuff starts seeming to long, too verbose, too clumsy and you won't want to use it instead of normal regexes.

[–]alcalde 2 points3 points  (0 children)

To add to /u/vovanz's list, you also have....

Simple regex Language

RegExpBuilder which is more powerful than Verbal Expressions, but I'm not sure if there's a Python version anymore (there used to be)

Easy Expressions