summaryrefslogtreecommitdiff
path: root/testsuite/recall2.sed
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2012-12-22 14:27:13 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2012-12-22 14:27:13 +0000
commitc949e6f8ed33f31bd46c1626dc6c5828a1750e56 (patch)
treee519be160770e6b20bfe88eb923ea6aa8edb3e58 /testsuite/recall2.sed
downloadsed-tarball-c949e6f8ed33f31bd46c1626dc6c5828a1750e56.tar.gz
Diffstat (limited to 'testsuite/recall2.sed')
-rw-r--r--testsuite/recall2.sed5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/recall2.sed b/testsuite/recall2.sed
new file mode 100644
index 0000000..f668773
--- /dev/null
+++ b/testsuite/recall2.sed
@@ -0,0 +1,5 @@
+# Starting from sed 4.1.3, regexes are compiled with REG_NOSUB
+# if they are used in an address, so that the matcher does not
+# have to obey leftmost-longest. The tricky part is to recompile
+# them if they are then used in a substitution.
+/\(ab*\)\+/ s//>\1</g