The example given at 16.2.5 has a @replacementPattern value that will lead to the wrong results in many cases because many modern editions of the New Testament have suppressed verses (deprecated spurious verses), so the label and the position of a leaf div are not always equivalent. Thus I think that...
...vel sim should read...
Assigning to LB at Ann Arbor 2015 f2f; Accepted. Green - implement correction.
I agree. Example fixed.