diff options
Diffstat (limited to 'pygments/lexers/text.py')
-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 76443496..20e07bf3 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -379,8 +379,8 @@ class ApacheConfLexer(RegexLexer): tokens = { 'root': [ - (r'^(\s*)(#.*?)$', bygroups(Text, Comment)), (r'\s+', Text), + (r'(#.*?)$', Comment), (r'(<[^\s>]+)(?:(\s+)(.*?))?(>)', bygroups(Name.Tag, Text, String, Name.Tag)), (r'([a-zA-Z][a-zA-Z0-9]*)(\s+)', |