Controversial opinion time: The advantages of Thompson NFA regexes are just theoretical and not worth it. PCRE is faster in the real world.
@won3d @ssylvan @graphenepunk Why not? Usually regexes are hardcoded, e.g. URL routing, or metacharacters are not allowed.
-
-
@pcwalton@ssylvan@GraphenePunk Sometimes they are the input to a web form, like they were in Code Search. -
@won3d@ssylvan@graphenepunk OK, in that case something like re2 would be appropriate, I agree.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.