Quote:
Originally Posted by Starson17
Did you try my suggestion of using two matches (header and footer), instead of one multiline match?
|
I suppose that might work in some cases (where the two lines wrap the same every time), but it's a workaround, not a solution for the bug.
Quote:
Originally Posted by chaley
The problem is that it uses the QSyntaxHighlighter, which my experimentation shows to be a line-oriented interface, making highlighting multiline matches impossible.
|
Ahh, I'm glad someone with some know-how identified the issue. So are you saying that if the regex is valid across lines, it will work, even if the regex tester in calibre doesn't highlight across lines?