aboutsummaryrefslogtreecommitdiff
path: root/tests/21-no-submatch.sh
blob: 8bb418d9414c98ae4a4ba32f271df12e3d2f6ec6 (plain)
1
2
3
# pat1 !~ pat2 matches if pat2 cannot be found within pat1, like words *not* containing "e"
# Example: bp '{(|+`0-9|) !~ `5}' matches "123" and "678", but not "456"
bp '{word !~ `e}'