diff options
author | Georg Brandl <georg@python.org> | 2014-10-16 09:33:43 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-16 09:33:43 +0200 |
commit | 5727fe42393a86817bd0f702d93c3fc399b68eb3 (patch) | |
tree | 796e787baf37e7362a802aaf9b6303127ff35098 /pygments/lexers/webmisc.py | |
parent | f8f38adf82e18ea5c33d532ab3429bb22eed0921 (diff) | |
download | pygments-5727fe42393a86817bd0f702d93c3fc399b68eb3.tar.gz |
Fix "matches empty string" complaints from regexlint.
Diffstat (limited to 'pygments/lexers/webmisc.py')
-rw-r--r-- | pygments/lexers/webmisc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/webmisc.py b/pygments/lexers/webmisc.py index 7b40b575..c52dcfd4 100644 --- a/pygments/lexers/webmisc.py +++ b/pygments/lexers/webmisc.py @@ -879,7 +879,7 @@ class SlimLexer(ExtendedRegexLexer): bygroups(Punctuation, using(RubyLexer)), 'root'), (r'[ \t]+[\w:-]+(?=[=])', Name.Attribute, 'html-attributes'), - (r'', Text, 'plain'), + default('plain'), ], 'content': [ |