diff options
author | Tim Hatch <tim@timhatch.com> | 2014-10-15 22:13:59 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-10-15 22:13:59 -0700 |
commit | 86c2eee37cf292677032e02f553710d4c1eb1f04 (patch) | |
tree | 12de020d6fef10c028344a0fc320a6ab750f48d1 /pygments/lexers/int_fiction.py | |
parent | 78e09bf1384aa4439f56811b08a2b79ddd440b77 (diff) | |
download | pygments-86c2eee37cf292677032e02f553710d4c1eb1f04.tar.gz |
Curly brace escaping, round 1.
These locations were all found by regexlint and done semi-manually, leaving
braces within [] alone (they aren't special in the 'regex' module).
Diffstat (limited to 'pygments/lexers/int_fiction.py')
-rw-r--r-- | pygments/lexers/int_fiction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/int_fiction.py b/pygments/lexers/int_fiction.py index 8c3a934c..b464496b 100644 --- a/pygments/lexers/int_fiction.py +++ b/pygments/lexers/int_fiction.py @@ -179,7 +179,7 @@ class Inform6Lexer(RegexLexer): (r'[~^]+', String.Escape), (r'[^~^\\@({%s]+' % _squote, String.Single), (r'[({]', String.Single), - (r'@{[0-9a-fA-F]{,4}}', String.Escape), + (r'@\{[0-9a-fA-F]{,4}\}', String.Escape), (r'@..', String.Escape), (r'[%s]' % _squote, String.Single, '#pop') ], |