BaseX supporting 'lookahead' and 'lookbehind' regular expressions
Greetings All, I am trying to use 'lookahead' and 'lookbehind' regular expressions with BaseX With no success. )more about lookahead/behind can be found at: http://www.regular-expressions.info/lookaround.html Example expression: q(?=u) I fear that BaseX does not support these options Does BaseX support these options? Is there any alternative syntax for it? R
Hi, Am 15.05.2014 14:05, schrieb the joj:
I am trying to use 'lookahead' and 'lookbehind' regular expressions with BaseX With no success. [...] I fear that BaseX does not support these options
this is correct. The regular expressions supported by the XQuery standard [1] (and thus BaseX) do not support zero-width assertions. You can find a description of the available features at the same website you pointed out [2]. Hope that helps, Leo [1] http://www.w3.org/TR/xpath-functions/#regex-syntax [2] http://www.regular-expressions.info/xpath.html
participants (2)
-
Leo Wörteler -
the joj