bp/tests/20-submatch.sh
2021-08-28 14:26:32 -07:00

4 lines
173 B
Bash

# pat1 ~ pat2 matches if pat2 can be found within pat1, like words containing "e"
# Example: bp -p '+`0-9 ~ `5' matches "12345" and "72581", but not "789"
bp -p 'word ~ `e'