[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: Bug in the smalltalk-mode.el
From: |
Mathieu Suen |
Subject: |
[Help-smalltalk] Re: Bug in the smalltalk-mode.el |
Date: |
Sun, 1 Aug 2010 12:37:11 +0200 |
Ok I manage to remove the regexp.
You can fetch the patch in my repository.
Let me know if it is ok now.
Mth
On Jul 31, 2010, at 12:14 PM, Paolo Bonzini wrote:
> 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
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] Re: Bug in the smalltalk-mode.el,
Mathieu Suen <=