View Single Post
Old 07-17-2012, 07:43 PM   #8
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 471
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by DiapDealer View Post
That's not the way I understand it... but then, I didn't really understand your goal. I still don't quite.

Do you want it to exclude any bullet that occurs anywhere in any string that is enclosed by those "p class='calibre1'" tags? That could prove pretty tough, if so. I know I can't get my head around the expression to accomplish that (not that THAT renders it impossible by any means ).

I'd say your best bet is to isolate/alter the scene-breaks first and then catch any possible OCR glitches in a subsequent search.
I want a search that will match:

Code:
<p class="calibre1">A•</p>

<p class="calibre1">•A</p>

<p class="calibre1">A •BC D</p>
and exclude:

Code:
<p class="calibre1">•</p>
@WS64, thanks are once again due for a goodfaith attempt to help. However, again, I've already found workarounds for my problem before. What I'm looking for in this particular query is specifically a single expression that will do what I want. Also your workaround would still exclude cases where the bullet was set between non-p tags. ie:

Code:
<p>Here's some text <span>•</span>, ain't life grand?</p>

or

<p>here's some more <i>•</i> text</p>
But as I said, I'm looking for a single expression, anyway.

Last edited by ElMiko; 07-17-2012 at 07:57 PM.
ElMiko is offline   Reply With Quote