summaryrefslogtreecommitdiff
path: root/pygments/lexers/robotframework.py
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2019-03-06 18:57:45 +0000
committerAnteru <bitbucket@ca.sh13.net>2019-03-06 18:57:45 +0000
commitbce3a972a54517884bcbd45e09e0d3e911fe53d7 (patch)
tree2ede7d7e59662a0c783bfb02046fd8f3e51f9662 /pygments/lexers/robotframework.py
parent9cf54bd260fe4ec5acafc29965107c13ad0e7133 (diff)
parent17d2686040bc9eb9255f103e8573e85225bae920 (diff)
downloadpygments-git-bce3a972a54517884bcbd45e09e0d3e911fe53d7.tar.gz
Merged in jkmartindale/pygments-main (pull request #775)
Fix external links in RdLexer and NewLispLexer Approved-by: James Martindale <atlassian@jkmartindale.com>
Diffstat (limited to 'pygments/lexers/robotframework.py')
-rw-r--r--pygments/lexers/robotframework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/robotframework.py b/pygments/lexers/robotframework.py
index e868127b..5bacffa3 100644
--- a/pygments/lexers/robotframework.py
+++ b/pygments/lexers/robotframework.py
@@ -161,7 +161,7 @@ class RowTokenizer(object):
class RowSplitter(object):
_space_splitter = re.compile('( {2,})')
- _pipe_splitter = re.compile('((?:^| +)\|(?: +|$))')
+ _pipe_splitter = re.compile(r'((?:^| +)\|(?: +|$))')
def split(self, row):
splitter = (row.startswith('| ') and self._split_from_pipes