Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2014, 03:27 PM   #1
Witkacy
Junior Member
Witkacy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2014
Location: Warsaw, Poland
Device: Sony PRS-505
Regex problem: s&r adding space between emdash and first letter...

Hello guys and gals,

I am absolute newbie as it comes for regular expressions so kindly and humbly ask for help...

Quite often the dialogues in epubs I own look like:

"—Hello, mobileread"

And it should look like:

"— Hello, mobileread" to be more capable to read...

After done some reading of the forum and so few tries and errors I've set such search:

"—[\w]"

And it does the trick, yet when it goes to replacing setting "— \1" not working... Sigil simply adds the string "— \1" to the epub, without fixing anything

Thanks in advance for any tips and suggestions...

Have nice weekend

Witkacy
Witkacy is offline   Reply With Quote
Old 11-07-2014, 03:35 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You need to close [\w] in parenthesis, like this: "—([\w])"
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious problem with find/replace & regex JoeBloe Editor 1 11-07-2014 04:45 AM
Adding with Regex thepauler Library Management 2 08-31-2014 02:25 PM
Need help with regex for adding ebooks myusernameis Calibre 2 02-14-2014 07:01 AM
Adding books - regex help tonyx3 Library Management 1 03-13-2013 08:21 AM
Regex F&R problem? Jabby Sigil 6 06-12-2012 04:18 AM


All times are GMT -4. The time now is 01:39 PM.


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