bp/tests/16-lookahead.sh

4 lines
125 B
Bash

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