aboutsummaryrefslogtreecommitdiff
path: root/tests/12-star.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/12-star.sh')
-rw-r--r--tests/12-star.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/12-star.sh b/tests/12-star.sh
new file mode 100644
index 0000000..bd2d578
--- /dev/null
+++ b/tests/12-star.sh
@@ -0,0 +1,3 @@
+# The star (*) prefix operator matches zero or more repetitions
+# Example: bp -p '"Ha" *"ha"' will match "Ha", "Haha", "Hahaha", etc.
+bp -p '`( *`x `)'