View Single Post
Old 12-28-2013, 08:09 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Question regex - issue with spaces?

i wanted to tweak the layout of a short story (a library book loan- unlocked just for read-once layout tweaking)

It was using a lot constructs like this for spacing.

<p class"something"> </p>

(where the the gap seemed to be a simple space)

but I could not get the regex engine to find any of those lines no matter how I tweaked the options
It could find the 1st part ok, the bit before the "space" i.e. it could find
<p class"something">
but that was all. & useless as every line in the story starts like that!
maybe it was some weird "space" character, but when I opened with sigil instead , pasted in the offending line & hit replace all , it zapped them , no problems.

so is it a bug or is it a character issue ?
as it is an unconverted retail epub loan, I would not expect any weird characters to be in it


NB I did what i usually do in such cases, I coped & pasted the offending line into the regex find box, so any strange character should have copied over.

I think it more likely to be a bug in book editor regex
cybmole is offline   Reply With Quote