Closed ChristianGruen closed 2 years ago
Same problem with "different paragraph":
basex "'x
y' contains text 'x y'"
=>
true
basex "'x
y' contains text 'x y' same paragraph"
=>
false
basex "'x
y' contains text 'x y' different paragraph"
=>
false
I‘ve decided to stick with the current implementation. The spec indicates that:
A scope selection selects matches which satisfy the operand full-text selection and for which the matched tokens and phrases are contained in the same scope or in different scopes.
However, information is missing on what is going to happen with phrases that extend over several scopes.
Returns
false
, whereastrue
is probably correct.