Pass a String instead of a Regexp