View Single Post
Old 04-29-2010, 09:35 PM   #14
tonyx3
Connoisseur
tonyx3 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
Quote:
Originally Posted by Starson17 View Post
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?
tonyx3 is offline   Reply With Quote