summaryrefslogtreecommitdiff
path: root/testsuite/recall.sed
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/recall.sed')
-rw-r--r--testsuite/recall.sed7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/recall.sed b/testsuite/recall.sed
new file mode 100644
index 0000000..c1d7f9c
--- /dev/null
+++ b/testsuite/recall.sed
@@ -0,0 +1,7 @@
+# Check that the empty regex recalls the last *executed* regex,
+# not the last *compiled* regex
+p
+s/e/X/p
+:x
+s//Y/p
+/f/bx