View Single Post
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