GNU bug report logs - #5373
Example in font-lock-add-keywords should use shy subgroup

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Wed, 13 Jan 2010 10:27:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 5373 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 5373 <at> debbugs.gnu.org
Subject: Re: bug#5373: Example in font-lock-add-keywords should use shy
Date: Wed, 13 Jan 2010 13:58:50 -0500
>>>> It could.  But the use of a normal group is harmless.
>>> I thought it was slower?
>> No, it's not.  Maybe you're thinking about greedy matching?  Anyway, I'm
>> going to close this bug.
> No, I was not. I just thought finding the extra match data was a bit slower.
> Thanks for telling.

Well, it is marginally slower, but you'd be hard pressed to measure
the difference.


        Stefan




This bug report was last modified 15 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.