bp/tests/16-lookahead.sh
2021-08-28 14:26:32 -07:00

4 lines
127 B
Bash

# >pat is a lookahead
# Example: bp -p '"foo" >`(' will match "foo" only when it is followed by a parenthesis
bp -p '>`t word'