aboutsummaryrefslogtreecommitdiff
path: root/tests/20-submatch.sh
blob: 22da9e06ab0bf37dda23dc40d8a746c7ceac8c25 (plain)
1
2
3
# 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'