aboutsummaryrefslogtreecommitdiff
path: root/tests/04-sequence.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-04-09 14:24:06 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-04-09 14:24:06 -0400
commitf33e2e1ec9aef252952565644f6ebe02065f1943 (patch)
tree80af7346b480d9e860e865fe63bc713ba1514b37 /tests/04-sequence.sh
parent49dddd713ef2cb390edfeddb5cb7b0fe507fafb5 (diff)
Added leading zeroes
Diffstat (limited to 'tests/04-sequence.sh')
-rw-r--r--tests/04-sequence.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/04-sequence.sh b/tests/04-sequence.sh
new file mode 100644
index 0000000..dc61eeb
--- /dev/null
+++ b/tests/04-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"'