summaryrefslogtreecommitdiff
path: root/pygments/lexers/testing.py
diff options
context:
space:
mode:
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,