Use regexps to match mock and real backends