阅读背景:

PHP使用哪个正则表达式算法?

来源:互联网 

After reading this article about two different types of regular expression algorithms (Perl 5.8.7 and Thompson NFA), the latter being ~1,000,000 times faster than the former, according to the article. I use PHP daily, and use regex quite a lot, so I wanted to know which algorithm PHP uses. about two different




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: