View Single Post
Old 06-26-2012, 05:07 AM   #6
gers1978
Addict
gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.
 
Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by wallcraft View Post
If this gives false positives, you can add that CHAPTER is start of an element, "^", and the chapter number, perhaps:

Code:
//*[re:test(., '^CHAPTER [1-9]')]
This worked great, except for 1 thing - all chapters appear in the TOC 3 times! Like this:

Chapter 1
Chapter 1
Chapter 1
Chapter 2
Chapter 2
Chapter 2

etc...
gers1978 is offline   Reply With Quote