aboutsummaryrefslogtreecommitdiff
path: root/tests/20-submatch.sh
blob: 5543fcf68d874e7cbdb0626c9a5111e5db6d8013 (plain)
1
2
3
# pat1 ~ pat2 matches if pat2 can be found within pat1, like words containing "e"
# Example: bp '{+`0-9 ~ `5}' matches "12345" and "72581", but not "789"
bp '{word ~ `e}'