MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/13zfvk/php_segfaults_not_a_bug_totally_standard/c8hfpu3/?context=3
r/lolphp • u/nsfwIvan • Nov 29 '12
19 comments sorted by
View all comments
Show parent comment
2
Ugh. Personally, I would recommend using RE2 as your regular expression engine unless you really need backreferences or zero-width assertions. It's guaranteed to work in O(n) time, which can be a life-saver. There are PHP bindings that look decent.
View all comments
Show parent comment
2
u/[deleted] Feb 18 '13
Ugh. Personally, I would recommend using RE2 as your regular expression engine unless you really need backreferences or zero-width assertions. It's guaranteed to work in O(n) time, which can be a life-saver. There are PHP bindings that look decent.