[Pharo-users] Non-greedy RegEx?

Pierce Ng pierce at samadhiweb.com
Tue Feb 5 10:53:39 EST 2019


On Wed, Feb 06, 2019 at 12:26:00AM +1300, Richard O'Keefe wrote:
> Please DON'T move to PCRE.
> "Outside world standards"?  There are so many.
> There are two important things to know about
> PCRE: (1) it is a popular open source regexp
> library for Perl-style regexps, (2) because of
> that, it is prone to truly horrendous performance
> problems.  There are alternatives, such as re2,
> https://github.com/google/re2 ,
> which are not subject to PCRE's intrinsic
> performance pathologies.  As it happens, re2
> supports *? +? and ??.

Can you share some examples of PCRE's bad performance? 

Pierce



More information about the Pharo-users mailing list