Quote:
Originally Posted by Mister L
Do you know why it does not work that way, at least in this case?
|
AFAIK, if Minimal Match is selected, Sigil will prefix the search string with (?U).
From the
PCRE documentation:
Quote:
PCRE_UNGREEDY
This option inverts the "greediness" of the quantifiers so that they
are not greedy by default, but become greedy if followed by "?". It is
not compatible with Perl. It can also be set by a (?U) option setting
within the pattern.
|
(If you remove the question mark from my regex and select Minimal Match, it works as expected.)