Open loopier opened 1 month ago
The current RegEx compilation string ((#\\s*(.*)\\n)+(\\/def\\s.*\\n)*) parses blocks preceding lines begining with /def, completely ignoring empty lines.
((#\\s*(.*)\\n)+(\\/def\\s.*\\n)*)
/def
This makes it impossible to create description intros after section titles.
# == section name # # bla bla bla # a docstring comment /def /whatever
gets rendered as
== section name === /whatever bla bla bla a docstring comment
it should be
== section name bla bla bla === /watever a docstring comment
I've tried ((#\\s*(.*)\\n)+(\\/def\\s.*\\n|^$)*) and ((#\\s*(.*)\\n)+(\\/def|^$\\s.*\\n)*) but makes no difference.
((#\\s*(.*)\\n)+(\\/def\\s.*\\n|^$)*)
((#\\s*(.*)\\n)+(\\/def|^$\\s.*\\n)*)
The current RegEx compilation string
((#\\s*(.*)\\n)+(\\/def\\s.*\\n)*)
parses blocks preceding lines begining with/def
, completely ignoring empty lines.This makes it impossible to create description intros after section titles.
gets rendered as
it should be
I've tried
((#\\s*(.*)\\n)+(\\/def\\s.*\\n|^$)*)
and((#\\s*(.*)\\n)+(\\/def|^$\\s.*\\n)*)
but makes no difference.