aboutsummaryrefslogtreecommitdiff
path: root/tests/16-lookahead.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/16-lookahead.sh')
-rw-r--r--tests/16-lookahead.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/16-lookahead.sh b/tests/16-lookahead.sh
new file mode 100644
index 0000000..18761bd
--- /dev/null
+++ b/tests/16-lookahead.sh
@@ -0,0 +1,3 @@
+# >pat is a lookahead
+# Example: bp -p '"foo" >`(' will match "foo" only when it is followed by a parenthesis
+bp -p '>`t word'