summaryrefslogtreecommitdiff
path: root/pygments/lexers/parsers.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-02-27 18:55:15 -0800
committerTim Hatch <tim@timhatch.com>2012-02-27 18:55:15 -0800
commit9d519e510f887c337c7a715d80e07b15357d33dc (patch)
tree5d847cc5a55354f5494d67c1e5034891f3b244c2 /pygments/lexers/parsers.py
parent5558d3ba11cc7b2d1e16228ce3c5402b7d48072c (diff)
parente6abbe90c96cb77c0a775c8ae4427eb2f49c1f98 (diff)
downloadpygments-9d519e510f887c337c7a715d80e07b15357d33dc.tar.gz
Merge pygments-main with pygments-tim
Diffstat (limited to 'pygments/lexers/parsers.py')
-rw-r--r--pygments/lexers/parsers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/parsers.py b/pygments/lexers/parsers.py
index c4aacf22..48955697 100644
--- a/pygments/lexers/parsers.py
+++ b/pygments/lexers/parsers.py
@@ -72,8 +72,8 @@ class RagelLexer(RegexLexer):
],
'operators': [
(r',', Operator), # Join
- (r'\||&|-|--', Operator), # Union, Intersection and Subtraction
- (r'\.|<:|:>|:>>', Operator), # Concatention
+ (r'\||&|--?', Operator), # Union, Intersection and Subtraction
+ (r'\.|<:|:>>?', Operator), # Concatention
(r':', Operator), # Label
(r'->', Operator), # Epsilon Transition
(r'(>|\$|%|<|@|<>)(/|eof\b)', Operator), # EOF Actions