[comp.emacs] bug in GNU emacs regexp?

pys@lln-cs.UUCP (Yves Schobbens) (10/26/90)

Could someone tell me if the following bug has been corrected in recent
versions of Emacs (or why it is not a bug) ? I have it in 18.47.

TEST:
type: 56 C-a ESC-x replace-regexp RET \(\(5\)7\|5\)6 RET \2 RET
if the buffer contains 5, your emacs has the same bug;
the correct answer is to raise "No match for..."

RATIONALE:
The second \(..\) is first matched with 5, but this match is retracted
when 7 has to be matched against 6. However, the match-data is not cleared
appropriately. (Well, in many other cases it isn't)

Many thanks in advance,
	Pierre-Yves.