summaryrefslogtreecommitdiff
path: root/pygments/lexers/webmisc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-16 09:33:43 +0200
committerGeorg Brandl <georg@python.org>2014-10-16 09:33:43 +0200
commit5727fe42393a86817bd0f702d93c3fc399b68eb3 (patch)
tree796e787baf37e7362a802aaf9b6303127ff35098 /pygments/lexers/webmisc.py
parentf8f38adf82e18ea5c33d532ab3429bb22eed0921 (diff)
downloadpygments-5727fe42393a86817bd0f702d93c3fc399b68eb3.tar.gz
Fix "matches empty string" complaints from regexlint.
Diffstat (limited to 'pygments/lexers/webmisc.py')
-rw-r--r--pygments/lexers/webmisc.py2
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': [