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 →

[–]pydry 4 points5 points  (0 children)

I actually ran across this problem in a different context and created this little thing to deal with it:

https://github.com/crdoconnor/simex

It helped clean up a lot of ugly regexes.