aboutsummaryrefslogtreecommitdiff
path: root/tests/18-lookbehind-variable-length.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2023-11-25 14:57:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2023-11-25 14:57:19 -0500
commite6e482054de77f3fe5d65344da86065373cf5f23 (patch)
treea6876c73bccf490512be5ff93fa808f3ce8d1c95 /tests/18-lookbehind-variable-length.sh
parente0a55ba6176df325b65b1768bba929805444bf88 (diff)
Deprecate '-p' flag and replace backslash interpolation with curly brace
interpolation
Diffstat (limited to 'tests/18-lookbehind-variable-length.sh')
-rw-r--r--tests/18-lookbehind-variable-length.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/18-lookbehind-variable-length.sh b/tests/18-lookbehind-variable-length.sh
index 851c549..d41a708 100644
--- a/tests/18-lookbehind-variable-length.sh
+++ b/tests/18-lookbehind-variable-length.sh
@@ -1,3 +1,3 @@
# Lookbehinds can have variable length.
-# Example: bp -p '<(^ +`# _) "foo"' matches lines starting with "# foo", "## foo", "### foo", etc.
-bp -p '<(`U +`h "...") "ok"'
+# Example: bp '{<(^ +`# _) "foo"}' matches lines starting with "# foo", "## foo", "### foo", etc.
+bp '{<(`U +`h "...") "ok"}'