03-16-2012, 01:56 PM | #1 |
Addict
Posts: 205
Karma: 352572
Join Date: Jul 2009
Location: USA
Device: Sony PRS 650, Nook HD+, Aura HD, Aura H2O v1, Libra 2
|
Where is the "minimal matching" in the Newest Sigil
Hi
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? Please help Thanks Minh Ha |
03-16-2012, 02:08 PM | #2 | |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IIRC Replace All will start at the Top of the Book regardless (I know Count does). |
|
Advert | |
|
03-16-2012, 02:47 PM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Or you add (?U) at the beginning of your search.
|
03-16-2012, 02:53 PM | #4 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
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 |
|
Similar Threads | ||||
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 |