Add HasRegexMetaChars to matching lib