GNU bug report logs -
#192
regexp does not work as documented
Previous Next
Reported by: Bruno Haible <bruno <at> clisp.org>
Date: Tue, 6 May 2008 03:35:03 UTC
Severity: normal
Tags: unreproducible
Done: Andrew Hyatt <ahyatt <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
David Koppelman wrote:
> Later in the week I'll look into it and provide either a fix
> or document the limitation.
Thank you!
Chong Yidong wrote:
> > OTOH, I don't see what we can do about this problem. Maybe we could add
> > a note to the docstring of highlight-regexp saying that multi-line
> > regular expressions are problematic? Does anyone have a suggestion?
As an end user, for testing the effect of a regexp on a buffer interactively,
I would prefer to have a "volatile" coloring (i.e. one that disappears at the
next buffer modification) but is correct, rather than a documented-to-be-wrong
coloring that updates itself correctly during buffer modifications. Less
functionality but implemented correctly.
OTOH, third-party packages may prefer the current behaviour if their regexps
match only portions of a line.
Bruno
This bug report was last modified 9 years and 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.