adding escape characters to regex