|03-16-2012, 02: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, 03:08 PM||#2|
Well trained by Cats
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
IIRC Replace All will start at the Top of the Book regardless (I know Count does).
|03-16-2012, 03: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 03: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-03-2010 12:35 AM|
|Calibre server "newest" list||Beau||Calibre||7||04-30-2010 02:16 PM|
|"PK": Only text when I open in Sigil an ePub file generated with Calibre||Terisa de morgan||Sigil||3||12-14-2009 12:24 PM|