Search globally for lines matching the regular expression, and print them