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 03-12-2012, 04:52 PM   #1
Adman35
Kindle enthusiast
Adman35 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2012
Location: Reston, Virginia
Device: Kindle
Sigil Wildcards/Regex Find/Replace

Greetings All --

I've browsed through the Sigil manual and a bunch of posts here. Am I correct that the wildcard option in Find/Replace has been removed from Sigil 0.5.3, leaving Regex as the favored alternative? If my deduction isn't right, I'd appreciate someone telling me how to activate the wildcard option.

Regards,

-- Adman35
Adman35 is offline   Reply With Quote
Old 03-12-2012, 06:33 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,597
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Adman35 View Post
Greetings All --

I've browsed through the Sigil manual and a bunch of posts here. Am I correct that the wildcard option in Find/Replace has been removed from Sigil 0.5.3, leaving Regex as the favored alternative? If my deduction isn't right, I'd appreciate someone telling me how to activate the wildcard option.

Regards,

-- Adman35
to MR

Yes, (PCRE) REGEX is the preferred method no more old style wild card

as * and ? have special meanings in regex, remember to escape these if that is in your find term. \* \?
theducks is offline   Reply With Quote
 
Enthusiast
Old 05-10-2012, 04:07 AM   #3
gfmoore
Junior Member
gfmoore began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2011
Device: Kindle
This is very annoying! Why has it been removed? Why do I now have to spend hours of my life learning how to use regex?

If it aint broke don't fix it!
gfmoore is offline   Reply With Quote
Old 05-10-2012, 04:45 AM   #4
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 639
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD
Because the old way was only any good in BookView or VERY basic searches, wasn't anywhere near powerful enough for use in CodeView, especially for anything more complex than replacing a straight search term.
Perkin is offline   Reply With Quote
Old 05-10-2012, 05:03 AM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,003
Karma: 10381859
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by gfmoore View Post
This is very annoying! Why has it been removed? Why do I now have to spend hours of my life learning how to use regex?

If it aint broke don't fix it!
I can highly recommend RegexBuddy, which is cheap and wondrous. ;-) For those of us who have weak regex-fu, it's brilliant. But truly, PCRE regex was badly, badly, badly needed in Sigil.

Hitch
Hitch is offline   Reply With Quote
Old 05-10-2012, 09:50 AM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,597
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by gfmoore View Post
This is very annoying! Why has it been removed? Why do I now have to spend hours of my life learning how to use regex?

If it aint broke don't fix it!
For a basic '*' or' ?' user, the REGEX is rather simple

Go read this tutorial, http://www.mobileread.com/forums/sho...d.php?t=118569

It took me from REGEX = to REGEX =


Also, grab yourself a (free) REGEX cheat sheet from http://www.addedbytes.com/cheat-sheets/

NB They also have HTML and CSS cheat sheets
theducks is offline   Reply With Quote
Old 05-10-2012, 11:04 AM   #7
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
Well, instead of using "*" use ".*" and instead of using "?" use ".". Here you are with wildcards. Its just that simple.
huebi 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
wildcards in search-replace sigil 0.4905? Capricorn Sigil 13 01-19-2012 08:22 PM
RegEx find and replace iblesq Sigil 1 01-10-2011 09:26 PM
REGEX find and replace help please potestus Sigil 13 09-18-2010 04:14 PM
wildcards in sigil bobcdy Sigil 2 12-18-2009 10:19 PM


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


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