#3 pass a flag to ag/search to specify whether it's a regular expression