summaryrefslogtreecommitdiff
path: root/lisp/re/tests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/re/tests.txt')
-rw-r--r--lisp/re/tests.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/re/tests.txt b/lisp/re/tests.txt
index b8d3e22..35fd90b 100644
--- a/lisp/re/tests.txt
+++ b/lisp/re/tests.txt
@@ -459,3 +459,12 @@
/.*(\d+)/
:BADRPT
+
+# Regression fix, was matching empty string
+/\\\d{3}|\\./
+>\\
+:NOMATCH
+
+/\\.|\\\d{3}/
+>\\
+:NOMATCH