From 73aa5686ccf420fe5c5ce80ffed5c9c37b38589c Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sat, 25 Jul 2015 16:29:42 -0400 Subject: [PATCH] Remove octal escapes from unicode escape handling Fixes #11673 --- lib/ansible/parsing/splitter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/parsing/splitter.py b/lib/ansible/parsing/splitter.py index f2162814da8..989c52e2035 100644 --- a/lib/ansible/parsing/splitter.py +++ b/lib/ansible/parsing/splitter.py @@ -29,7 +29,6 @@ _ESCAPE_SEQUENCE_RE = re.compile(r''' ( \\U{0} # 8-digit hex escapes | \\u{1} # 4-digit hex escapes | \\x{2} # 2-digit hex escapes - | \\[0-7]{{1,3}} # Octal escapes | \\N\{{[^}}]+\}} # Unicode characters by name | \\[\\'"abfnrtv] # Single-character escapes )'''.format(_HEXCHAR*8, _HEXCHAR*4, _HEXCHAR*2), re.UNICODE | re.VERBOSE)