Regex j-flag
Wednesday, 13 March 2019 · 2 messages
AH
Andreas Hartmann13 Mar 2019 11:06 #
Hi
The "j" flag for regular expressions introduced in version 9.1 doesn't seem to work in 9.1.2 anymore. For example, matches("Fenster", "\bfenst", "ij") produces [FORX0001] invalid regular flag 'j'. The same expression works in 9.1.1.
Best Greetings,
Andreas
CG
Christian Grün13 Mar 2019 11:08 #
Hi Andreas,
Yes, that’s true, it got lost in 9.1.2 [1]. Sorry for that.
BaseX 9.2 will be available soon. For now, feel free to use 9.1.1 or the latest snapshot [2].
Best,
Christian
[1] https://github.com/BaseXdb/basex/issues/1669
[2] http://files.basex.org/releases/latest/
Quoted text · Andreas Hartmann · 16 lines
On Wed, Mar 13, 2019 at 11:06 AM Andreas Hartmann <andreas.hartmann at gmx.org> wrote: > > Hi > > The "j" flag for regular expressions introduced in version 9.1 doesn't seem > to work in 9.1.2 anymore. For example, matches("Fenster", "\bfenst", "ij") > produces [FORX0001] invalid regular flag 'j'. The same expression works in > 9.1.1. > > Best Greetings, > > Andreas > > >
Written for BaseX 9.1. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery