Character escaping on regular expression.