Wrap regexps to be easily comparable