Fix syntax error in regular expression string