>>>> "Stephen" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
They don't behave like regular groups, they're non-greedy or something.
Nah, they're just plain broken.
The problem shows up under various circumstances, but a "*" right
after the shy group is a pretty good way to make it appear.
It took me a significant amount of rework to fix it for Emacs-21.
I sent the corresponding patch+changelog to Jan Vroonhof, but merging
them into XEmacs' regexp.c is not a piece of cake.
Stefan