regex patterns now work