; Add regression test for bug#65726
* test/src/regex-emacs-tests.el (regex-tests-mutual-exclusive-inf-rec): New test.
This commit is contained in:
parent
6fad73d7cc
commit
8a9e653cc8
1 changed files with 4 additions and 0 deletions
|
@ -883,4 +883,8 @@ This evaluates the TESTS test cases from glibc."
|
|||
(should (looking-at "x*\\(=\\|:\\)*"))
|
||||
(should (looking-at "x*=*?"))))
|
||||
|
||||
(ert-deftest regex-tests-mutual-exclusive-inf-rec ()
|
||||
;; Regression test for bug#65726, where this crashed Emacs.
|
||||
(should (equal (string-match "a*\\(?:c\\|b*\\)*" "a") 0)))
|
||||
|
||||
;;; regex-emacs-tests.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue