Update script
fix a bug where regex weirdness would kick text after a keyword onto a previous line
This commit is contained in:
@@ -1512,7 +1512,7 @@ text_filter :=
|
|||||||
) +
|
) +
|
||||||
#### step 2c : move action keywords' reminder text to the end of the line
|
#### step 2c : move action keywords' reminder text to the end of the line
|
||||||
replace@(
|
replace@(
|
||||||
match: "(<atom-reminder-[^>]+> (?:(?!</kw).*?)</atom-reminder-[^>]+></kw[^>]*>)([^\n]+)", #### removed "| ?<kw-" from lookahead
|
match: "(<atom-reminder-[^>]+> (?:(?!</kw).*?)</atom-reminder-[^>]+></kw[^>]*>)([^\n]*)", #### removed "| ?<kw-" from lookahead
|
||||||
replace: "\\2\\1"
|
replace: "\\2\\1"
|
||||||
) +
|
) +
|
||||||
#### step 2d : when there's an action keyword and another one, then move that to the end of the line
|
#### step 2d : when there's an action keyword and another one, then move that to the end of the line
|
||||||
|
|||||||
Reference in New Issue
Block a user