Hi This expression: replace("aaaa bbbbbbbb ddd ",'(.{6,15}) ','$1@') results in [FORX0002] Invalid pattern: 'Illegal quantifier, lower > upper bound: {6,1}'.
Could it be that *S*{n,m} is only accepting single digit n and m?
This causes http://stackoverflow.com/questions/3767452/xquery-word-wrap to wildly overwrap.
Regards /Andy
Noted, thanks [1]; will be fixed soon. Christian
[1] https://github.com/BaseXdb/basex/issues/573 ___________________________
Hi This expression: replace("aaaa bbbbbbbb ddd ",'(.{6,15}) ','$1@') results in [FORX0002] Invalid pattern: 'Illegal quantifier, lower > upper bound: {6,1}'.
Could it be that S{n,m} is only accepting single digit n and m?
This causes http://stackoverflow.com/questions/3767452/xquery-word-wrap to wildly overwrap.
Regards /Andy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Andy, hi Alex,
the regex bug has eventually been fixed [1,2].
Cheers, Christian
[1] https://github.com/BaseXdb/basex/issues/573 [2] http://files.basex.org/releases/latest/ ___________________________
On Tue, Sep 11, 2012 at 6:18 PM, Andy Bunce bunce.andy@gmail.com wrote:
Hi This expression: replace("aaaa bbbbbbbb ddd ",'(.{6,15}) ','$1@') results in [FORX0002] Invalid pattern: 'Illegal quantifier, lower > upper bound: {6,1}'.
Could it be that S{n,m} is only accepting single digit n and m?
This causes http://stackoverflow.com/questions/3767452/xquery-word-wrap to wildly overwrap.
Regards /Andy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de