View Single Post
Old 06-15-2011, 06:25 AM   #1
madeinlisboa
Enjoy Life
madeinlisboa began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Jun 2011
Location: Portugal
Device: Kindle
Structure detection on simple chapters

Hi,
i'm very confortable with regexps, but I can't make the structure detection work with these very simple chapters headers:

Code:
Chapter 1.<br>
I tried to drill down to the simplest code, but it just doesn't work:

Code:
//*[re:test(., "(Chapter|Book|Section|Part|Prologue|Epilogue)\s", "")]
Plase, help me.
madeinlisboa is offline   Reply With Quote