* docs: document unrecognized escape sequence behaviour [skip ci] Document that unrecognized escape sequence behaviour is like python, not C. * Don't try to decode invalid hex escape sequences Don't try to decode escape sequences which should contain a sequence of hex digits, but don't, throwing a python exception. These will treated literally instead. * Extend test case to cover invalid escape sequencespull/5327/head
parent
03d34a79f8
commit
ccc4ce28cc
3 changed files with 23 additions and 6 deletions
Loading…
Reference in new issue