Use regexes, not string literals, for matching.