diff options
author | ???? <haraguroicha@tipsy.coffee> | 2016-09-05 08:42:33 +0800 |
---|---|---|
committer | ???? <haraguroicha@tipsy.coffee> | 2016-09-05 08:42:33 +0800 |
commit | ba6758cdb4dcee9d0536646b414f42ee5de4fa4e (patch) | |
tree | 2c9217250dad0f424276fe810f6b9bb0ca0d9daa /reader.py | |
parent | 94b5494cdfa25d90740d0a16710dab9d11538375 (diff) | |
download | ruamel.yaml-ba6758cdb4dcee9d0536646b414f42ee5de4fa4e.tar.gz |
let NON_PRINTABLE RegEx match the spec
Diffstat (limited to 'reader.py')
-rw-r--r-- | reader.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ class Reader(object): self.update(1) NON_PRINTABLE = re.compile( - u'[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD]') + u'[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]') def check_printable(self, data): match = self.NON_PRINTABLE.search(data) |