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 | 804580a406c4c26ee6721c6ccbea235f3e41e57f (patch) | |
tree | bac72d96a67c04ec4fa41d6fa08fe1bce0940e5a | |
parent | 0db8e281af377923115b894703b2b8beb8f1e9d5 (diff) | |
download | pygments-804580a406c4c26ee6721c6ccbea235f3e41e57f.tar.gz |
Highlight %a in Python3Lexer
-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 |