Steve Youngs writes:
FAIL: Assertion failed: (not (progn (string-match "a"
"a") (string-match "b" "a") (match-string 0
"a")))
FAIL: Assertion failed: (not (progn (string-match "\\(a\\)" "a")
(string-match "\\(b\\)" "a") (match-string 0 "a")))
FAIL: Assertion failed: (not (progn (string-match "\\(a\\)" "a")
(string-match "\\(b\\)" "a") (match-string 1 "a")))
Emacs 21.2.1 also fails these three tests. For the four tests at the bottom
of regexp-tests.el, Emacs and XEmacs agree. So there might actually be
compatibility issues with fixing these...
Cheers,
Sean MacLennan