aboutsummaryrefslogtreecommitdiff
path: root/tests/06-start-of-line.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/06-start-of-line.sh')
-rw-r--r--tests/06-start-of-line.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/06-start-of-line.sh b/tests/06-start-of-line.sh
new file mode 100644
index 0000000..c44000e
--- /dev/null
+++ b/tests/06-start-of-line.sh
@@ -0,0 +1,3 @@
+# ^ matches start of a line
+# Example: bp -p '^ "x"' matches lines starting with "x"
+bp -p '^ "foo"'