summaryrefslogtreecommitdiff
path: root/pygments/lexers/xorg.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/xorg.py')
-rw-r--r--pygments/lexers/xorg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/xorg.py b/pygments/lexers/xorg.py
index e2a67e26..8f605be4 100644
--- a/pygments/lexers/xorg.py
+++ b/pygments/lexers/xorg.py
@@ -29,7 +29,7 @@ class XorgLexer(RegexLexer):
(r'((?:Sub)?Section)(\s+)("\w+")',
bygroups(String.Escape, Text, String.Escape)),
- (r'(End(|Sub)Section)', String.Escape),
+ (r'(End(?:Sub)?Section)', String.Escape),
(r'(\w+)(\s+)([^\n#]+)',
bygroups(Name.Builtin, Text, Name.Constant)),