aboutsummaryrefslogtreecommitdiff
path: root/tests/9-ellipsis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/9-ellipsis.sh')
-rw-r--r--tests/9-ellipsis.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/9-ellipsis.sh b/tests/9-ellipsis.sh
new file mode 100644
index 0000000..0763fd1
--- /dev/null
+++ b/tests/9-ellipsis.sh
@@ -0,0 +1,3 @@
+# The ellipsis matches text upto the following pattern, not counting newlines
+# Example: bp -p '"/*" .. "*/"' matches "/* blah blah */" or "/**/"
+bp -p '"hello" .. "world"'