Changed escaped literals to character classes