Quote:
Originally Posted by KevinH
Have you tried something simpler like:
[^]*\s(were)[,;!?.\s][^]*
|
So when I try this, I get the whole dialogue returned, as in:
Thats where were going!
rather than just the "were". This is a similar result to my clunkier
which, as you note, also takes advantage of the directional nature of the quotation marks.
@DiapDealer Ahhhh.... see, that's why it pays to hedge one's statements when one doesn't know what the heck he's talking about! That's really helpful.
Full disclosure, I'm still using an ancient version of Sigil (0.7.2). How can Ior can I
evenuse the Barnett regex module with it?
Otherwise, I've modified my search to:
Code:
\bwere\b(?=[^]*?)
Which seems to
mostly work....