bp/tests/14-repeat-sep.sh

4 lines
186 B
Bash

# The '%' operator modifies repeating patterns, allowing you to give a separator between matches
# Example: bp '{+"x" % ":"}' will match "x", "x:x", "x:x:x", etc.
bp '{`( +int % `, `)}'