Investigate invalid \n|$
regex at end of parser's patterns
#1880
Labels
area: backend
This issue involves Python, Django or dependency (eg. database)
feature: parser
Parser converts markdown/bbcode strings into other forms
Milestone
\n|$
at the end of pattern will make regex match and consume linebreak at the end of, it preventing^|\n
at the beginning of next pattern to match with it. I need to check all those blocks patterns and make them focus on matching prefix linebreaks only and use look-ahead ((?=\n|$)
) at the end.The text was updated successfully, but these errors were encountered: