summaryrefslogtreecommitdiff
path: root/pygments/lexers/testing.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 12:26:04 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 12:26:04 +0100
commit9f1763bdbb8c156dd1c5897c50d5cfcf1ccad4c7 (patch)
tree38aecd295c761beac1ffba59efce26f1e274b4d0 /pygments/lexers/testing.py
parentf8417e3412d061538ddff8b707048112120f3647 (diff)
downloadpygments-9f1763bdbb8c156dd1c5897c50d5cfcf1ccad4c7.tar.gz
Simplify charclasses in a few more modules
Diffstat (limited to 'pygments/lexers/testing.py')
-rw-r--r--pygments/lexers/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/testing.py b/pygments/lexers/testing.py
index 6007a846..07e3cb31 100644
--- a/pygments/lexers/testing.py
+++ b/pygments/lexers/testing.py
@@ -55,7 +55,7 @@ class GherkinLexer(RegexLexer):
include('comments'),
(r"\\\|", Name.Variable),
(r"\s*\|", Keyword),
- (r"[^\|]", Name.Variable),
+ (r"[^|]", Name.Variable),
],
'scenario_sections_on_stack': [
(feature_element_keywords,