BaseX supporting 'lookahead' and 'lookbehind' regular expressions

Thursday, 15 May 2014 · 2 messages
TJ
the joj15 May 2014 14:05 #
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
LW
Leo Wörteler15 May 2014 14:34 #
Hi,
Quoted text · the joj · 5 lines
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

⚡Generated with XQuery