bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24020: [PATCHv2] Fix ‘[[:word:]]*\u2620’ failing to match ‘foo\u2620


From: Michal Nazarewicz
Subject: bug#24020: [PATCHv2] Fix ‘[[:word:]]*\u2620’ failing to match ‘foo\u2620’ (bug#24020)
Date: Wed, 20 Jul 2016 14:36:39 +0200
User-agent: Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu)

> Michal Nazarewicz <mina86@mina86.com> writes:
>> For example, take regular expression ‘[[:alpha:]]*1’ trying to match
>> a string ‘foo’.  Since the Kleene star is greedy, the engine will test
>> the shortest match for ‘[[:alpha:]]*’ which is ‘foo’.  At this point

On Tue, Jul 19 2016, Andreas Schwab wrote:
> Did you mean "the longest match"?

Yep, thanks for spotting this.

-- 
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»





reply via email to

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