File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ def preprocess(self, text):
440
440
#
441
441
# # header
442
442
_meta_data_pattern = re .compile (r'^(?:---[\ \t]*\n)?(.*:\s+>\n\s+[\S\s]+?)(?=\n\w+\s*:\s*\w+\n|\Z)|([\S\w]+\s*:(?! >)[ \t]*.*\n?)(?:---[\ \t]*\n)?' , re .MULTILINE )
443
- _key_val_pat = re .compile ("[\S\w]+\s*:(?! >)[ \t ]*.*\n ?" , re .MULTILINE )
443
+ _key_val_pat = re .compile (r "[\S\w]+\s*:(?! >)[ \t]*.*\n?" , re .MULTILINE )
444
444
# this allows key: >
445
445
# value
446
446
# conutiues over multiple lines
@@ -998,9 +998,9 @@ def _prepare_pyshell_blocks(self, text):
998
998
999
999
def _table_sub (self , match ):
1000
1000
trim_space_re = '^[ \t \n ]+|[ \t \n ]+$'
1001
- trim_bar_re = '^\||\|$'
1002
- split_bar_re = '^\||(?<!\\ \\ )\|'
1003
- escape_bar_re = ' \\ \\ \|'
1001
+ trim_bar_re = r '^\||\|$'
1002
+ split_bar_re = r '^\||(?<!\\)\|'
1003
+ escape_bar_re = r' \\\|'
1004
1004
1005
1005
head , underline , body = match .groups ()
1006
1006
You can’t perform that action at this time.
0 commit comments