diff options
author | PurpleMyst <purplemyst2017@gmail.com> | 2017-07-23 19:23:30 +0200 |
---|---|---|
committer | PurpleMyst <purplemyst2017@gmail.com> | 2017-07-23 19:23:30 +0200 |
commit | c15739d24c29854775367310f50e1f573e331a77 (patch) | |
tree | 3b05f46070c64802f78e4460509849fc1988669a /pygments/lexers/python.py | |
parent | 1b966038502c0b386a6645d4b5125f623d0947bb (diff) | |
download | pygments-git-c15739d24c29854775367310f50e1f573e331a77.tar.gz |
Highlight %a in Python3Lexer
Diffstat (limited to 'pygments/lexers/python.py')
-rw-r--r-- | pygments/lexers/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index 390eafe8..435dfe9c 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -262,7 +262,7 @@ class Python3Lexer(RegexLexer): return [ # the old style '%s' % (...) string formatting (still valid in Py3) (r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?' - '[hlL]?[E-GXc-giorsux%]', String.Interpol), + '[hlL]?[E-GXc-giorsaux%]', String.Interpol), # the new style '{}'.format(...) string formatting (r'\{' '((\w+)((\.\w+)|(\[[^\]]+\]))*)?' # field name |