On 5 Feb 2019, at 12:26, Richard O'Keefe <raoknz@gmail.com> wrote:Please DON'T move to PCRE."Outside world standards"? There are so many.There are two important things to know aboutPCRE: (1) it is a popular open source regexplibrary for Perl-style regexps, (2) because ofthat, it is prone to truly horrendous performanceproblems. There are alternatives, such as re2,which are not subject to PCRE's intrinsicperformance pathologies. As it happens, re2supports *? +? and ??.On Tue, 5 Feb 2019 at 20:34, Esteban Lorenzano <estebanlm@gmail.com> wrote:Hi,
Yes, Pharo regex implementation is very naive.
We will be moving to a PCRE binding to match outside world standards but we have not had the time to work on it :(
Esteban
> On 5 Feb 2019, at 00:27, Manuel Leuenberger <leuenberger@inf.unibe.ch> wrote:
>
> Hi,
>
> I just noticed that the Pharo regexes do not understand non-greedy matches. A regex engine to be PCRE is kind of essential, not having '.*?' to be a parseable and working regex is a bummer. Are there any more powerful regex engines around for Pharo? I could not find any.
>
> Cheers,
> Manuel
>
>