View Single Post
Old 01-18-2010, 03:24 PM   #14
Trel
Connoisseur
Trel began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
Quote:
Originally Posted by kovidgoyal View Post
Because you're matching on the epub output, not the intermediate html.
Ok then I how would I do it so that it matches any
Code:
<span class="none fs0">Chapter ????
where chapter is the number?

Code:
//h:span[re:test(@class, "none fs0", "i") and re:test(., "Chapter \d{0,4}", "")]
?

Last edited by Trel; 01-18-2010 at 03:31 PM.
Trel is offline   Reply With Quote