Ensure unicode, octal and hex escapes are correctly handled in string literals

Issue #22 resolved
masklinn
repo owner created an issue

e.g.

>>> len('\xe9')
1

Note: \u and \U escapes only work in unicode literals:

>>> len('\u00e9')
6
>>> len(u'\u00e9')
1

Comments (1)

  1. Log in to comment