Ahhh brilliant, thanks to both of you. RobW - yeah I was starting to wonder if it was something about how Sigil was using Regex, which got me looking elsewhere on the dialog to find the "minimal matching" checkbox which my brain had completely ignored until now.
And thanks to TheGreatGig for then confirming what I was about to try. The quotation mark was to request a non-greedy match which I believe is "normal" regular expression syntax. I did not realise until just now that Sigil had this alternatively encapsulated into a simple checkbox to select.
Job done, thank you both.
|