aboutsummaryrefslogtreecommitdiff
path: root/tests/14-repeat-sep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/14-repeat-sep.sh')
-rw-r--r--tests/14-repeat-sep.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/14-repeat-sep.sh b/tests/14-repeat-sep.sh
new file mode 100644
index 0000000..879ec4b
--- /dev/null
+++ b/tests/14-repeat-sep.sh
@@ -0,0 +1,3 @@
+# The '%' operator modifies repeating patterns, allowing you to give a separator between matches
+# Example: bp -p '+"x" % ":"' will match "x", "x:x", "x:x:x", etc.
+bp -p '`( +int % `, `)'