aboutsummaryrefslogtreecommitdiff
path: root/tests/4-sequence.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/4-sequence.sh')
-rw-r--r--tests/4-sequence.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/4-sequence.sh b/tests/4-sequence.sh
new file mode 100644
index 0000000..dc61eeb
--- /dev/null
+++ b/tests/4-sequence.sh
@@ -0,0 +1,5 @@
+# Multiple patterns in a row represent a sequence.
+# bp pattern syntax mostly doesn't care about whitespace, so you can have
+# spaces between patterns if you want, but it's not required.
+# Example: bp -p '"foo" `0-9' matches "foo1", "foo2", etc.
+bp -p '"one" "two"'