[Pharo-users] Non-greedy RegEx?

Sven Van Caekenberghe sven at stfx.eu
Tue Feb 5 10:16:33 EST 2019


Still, there are advantages to an in-image solution, can't says this enough, these external lib dependencies pose their own problems ...

> On 5 Feb 2019, at 08:33, Esteban Lorenzano <estebanlm at 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 at 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
>> 
>> 
> 
> 




More information about the Pharo-users mailing list