Quote:
Originally Posted by p3aul
here is wan example of the first chapter:
I: In which Two Men go forth and One Arrives
What could be more obvious than a Roman Numeral?
This is the latest thing I've tried:
//*[re:test(., '^[I-XXIII]+:$')]
|
The "$" matches the end of a line, which isn't right here. Try
Code:
//*[re:test(., '^[IXV]+:')]
There is no need to repeat elements in the "[ ]" list and "I-X" means all characters from I to X. If you want a "-" put it at the end of the list.