Great! I believe the "!" option is best ignored...:)
Note: On the Java platform, this can also be achieved using the flag "!";
this was never formally supported and is likely to be withdrawn in a future Saxon version. [1]
/Andy [1] https://www.saxonica.com/html/documentation/functions/fn/matches.html%5B1]
On 9 August 2018 at 18:54, Christian Grün christian.gruen@gmail.com wrote:
A new snapshot will be available later tonight.
…which is now.
On Thu, Aug 9, 2018 at 7:02 PM Christian Grün christian.gruen@gmail.com wrote:
+1 for the Java flag as this enables \b for word boundaries as
mentioned here [1]
True, I missed that one as well more than once.
I’ve just support for Java’s default parser [1,2]. Apart from 'j' (which doesn’t need to be prefixed with a semicolon, as in Saxon), '!' is available as alternative. As it’s not officially documented in Saxon, just keep this one as a secret :)
A new snapshot will be available later tonight.
[1] https://github.com/BaseXdb/basex/issues/1608 [2] http://docs.basex.org/wiki/XQuery_Extensions#Regular_expressions