diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-14 03:12:06 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-14 03:12:06 -0400 |
commit | 3c8f0aed8af0456fc7834a681fe17c792c7dca1d (patch) | |
tree | 61d77af74296dc382222e36f7d5c95b62e3dc614 | |
parent | f5c7cf39365c0f4b84c8add66ab46ee1c9167ab8 (diff) | |
download | pygments-3c8f0aed8af0456fc7834a681fe17c792c7dca1d.tar.gz |
Fixed incorrect backtrack index
-rw-r--r-- | pygments/lexers/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index f05fc1d6..17812ae2 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -840,7 +840,7 @@ class VimLexer(RegexLexer): tokens = { 'root': [ - (r'^([ \t:]*)(' + _python + r')([ \t]*)(<<)([ \t]*)(.*)((?:\n|.)*)(\5)', + (r'^([ \t:]*)(' + _python + r')([ \t]*)(<<)([ \t]*)(.*)((?:\n|.)*)(\6)', bygroups(using(this), Keyword, Text, Operator, Text, Text, using(PythonLexer), Text)), (r'^([ \t:]*)(' + _python + r')([ \t])(.*)', |