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