help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: Re : Bug in the smalltalk-mode.el


From: Paolo Bonzini
Subject: [Help-smalltalk] Re: Re : Bug in the smalltalk-mode.el
Date: Sat, 31 Jul 2010 12:14:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On 07/31/2010 12:10 PM, Mathieu Suen wrote:
The regexp in question is when attempting to match all the temp list that is:

(\s*\w+\s?)*

\s any space
\w any alphabetic letter.

I guess that \w+\s? is boing to prevent prevent backtracking too often but I am 
not sure.

The problem is when you're _not_ at temporaries. Then you have an exponential number of ways to try because any non-empty suffix of \w+ is also a prefix of \w+.

Something like "&abcdefghijklmnopqrstuvwxyz|" should trigger it.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]