|03-16-2012, 01:56 PM||#1|
Join Date: Jul 2009
Device: Sony PRS 650, Nook HD+, Aura HD
Where is the "minimal matching" in the Newest Sigil
I have been using the older version of Sigil where minimal matching is a checkbox. Where is it now in the new version? Also, in the older version we have search direction: All, the new one only show Up or Down in the list box. How can I do a search for both directions at once?
|03-16-2012, 02:08 PM||#2|
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
IIRC Replace All will start at the Top of the Book regardless (I know Count does).
|03-16-2012, 02:53 PM||#4|
Join Date: Jan 2011
Device: Kindle PW, K4 NT, K3, Kobo Touch
You can do minimal matching using either:
- put a ? after the + or * to make it un-greedy as theducks said
- put a (?U) at the start of your regular expression as Toxaris says
I recommend using Regex DotAll so that your regex's automatically extend over multiple lines, which is generally what's needed.
If you use Replace, then the search will just wrap around now to allow you to search the whole document.
Count/Replace All cover the whole document and ignore Direction.
Last edited by meme; 03-16-2012 at 02:54 PM. Reason: slow typing
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Any way to apply calibre's "Series" (and number) meta-info from within Sigil...?||Vintage Season||Sigil||2||07-02-2010 11:35 PM|
|Calibre server "newest" list||Beau||Calibre||7||04-30-2010 01:16 PM|
|"PK": Only text when I open in Sigil an ePub file generated with Calibre||Terisa de morgan||Sigil||3||12-14-2009 11:24 AM|