organice
organice copied to clipboard
WIP test: Too eager parsing of italic markup
Related issue: #668
Here's the problem visualized:
However, why are the safe-guards not working? There should be one of \s({'"
at the start of the match. But.. there isn't.
Group 10 and 14 are optional. So they cannot prevent the matching starting and ending at inside a word.
And because of greedy group 13 .*
it also parses /Foo/ Bar Baz/
as one italic sentence (but that is issue #175 ).