Fixed handling of backslash escaped characters

should no longer skip a character in the pattern after a backslash escape