Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2009, 02:42 PM   #1
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 509
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
wildcards in sigil

I tried using the wildcard
\[(*)\]
from MS word 2000 to find [Pg 1], [Pg 2] etc. in Sigil 1.6 bookview, and the wildcard search did not work. It works fine in Word. Does anyone know if the wildcards recognized by sigil the same as those for Word? If not, could someone point me to a ref for the Sigil wildcards?

Bob
bobcdy is offline   Reply With Quote
Old 12-18-2009, 05:29 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by bobcdy View Post
I tried using the wildcard
\[(*)\]
from MS word 2000 to find [Pg 1], [Pg 2] etc. in Sigil 1.6 bookview, and the wildcard search did not work. It works fine in Word. Does anyone know if the wildcards recognized by sigil the same as those for Word? If not, could someone point me to a ref for the Sigil wildcards?

Bob
Switch to regular expression and use "\[Pg \d+\]". I haven't yet had time to write up a description of Sigil's search engine. A (very) technical explanation of the current engine in use can be found here.

In essence, the wildcard syntax is glob-like, and the regex variant is perl-like.

Word uses something very particular and proprietary, and I don't intend to replicate that functionality. Only people who have used Word know how it's search syntax works, and the ones used in Sigil are extremely widespread in the technical world.
Valloric is offline   Reply With Quote
 
Enthusiast
Old 12-18-2009, 10:19 PM   #3
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 509
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
Valloric,
Thanks for the fast reply and help. I'll use the regular expression that you suggest; I've been working on regular expressions but I must admit that they are very complex compared to Word simple wildcards. I don't understand regex at all well.
Bob
bobcdy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
More fun with regex / wildcards zelda_pinwheel Sigil 28 01-06-2013 09:57 AM
Sigil 0.2.1 Valloric Sigil 23 06-22-2010 02:52 AM
What is Sigil doing? crutledge Sigil 2 06-15-2010 11:06 AM
using wildcards for conversion ? Riiyachan Calibre 7 04-20-2010 10:16 PM
Sigil v0.1.3 Valloric Sigil 27 09-11-2009 08:02 AM


All times are GMT -4. The time now is 03:45 AM.


MobileRead.com is a privately owned, operated and funded community.