Stephen J. Turnbull
stephen at xemacs.org
Sun Dec 11 13:20:56 EST 2011
Julian Bradfield writes:
> In short, ^ seems to be mis-understood as a literal character when
> immediately following a shy grouping open.
This doesn't surprise me.
> A few minutes later...
> The offending code is at_begline_loc_p() in regex.c, which hasn't been
> told about shy grouping.
> If you like, I can propose a fix, but if somebody else knows the regex
> code well (in particular all the bits that control syntax variations),
> that would be better;-)
Ben does, but Ben ain't talking recently. Probably you know more
about this bit of code than anybody else does. I wouldn't worry about
the syntax variations too much, although they do get a bit of exercise
in etags and friends.
Besides patches (21.4 and 21.5) for the regexp code, please add your
tests to the test suite and make sure nothing else breaks (in the
*whole* test suite, which uses regexps heavily, just like everything
else in Emacs!)
There are known bugs in all existing versions of XEmacs which are
indeed caught by the test suite, so unfortunately you can't just look
for a 100% clean bill of health.
Please prioritize 21.4, as Vin seems to be thinking about a New Year's
release of 21.4.
More information about the XEmacs-Beta