blob: 277741df6d008859091930d0f5844745c4f0c9ba (
plain)
1
2
3
4
5
|
# The ordered choice operator (/) picks the first choice that matches
# Example: bp -p '"cabaret"/"cab"' matches either "cabaret" or "cab"
# Note: if a match occurs, the options to the right will *never* be attempted,
# so bp -p '"cab"/"cabaret"' will always match "cab" instead of "cabaret"
bp -p '"foo" / "bar"'
|