Grep
This filter works like the grep
linux command: it accepts an regular expression and returns it’s match. When stringified, the entire matching range will be used.
Example: $(version | grep '^[0-9]+\.[0-9]+')
This filter works like the grep
linux command: it accepts an regular expression and returns it’s match. When stringified, the entire matching range will be used.
Example: $(version | grep '^[0-9]+\.[0-9]+')