[xquery-talk] Regular Expression search

John Snelson jsnelson at sleepycat.com
Thu Dec 15 11:34:09 PST 2005

Martin Probst wrote:
> be careful with expressions like //*[matches(. "...")]. Because regular
> expressions can be _very_ complex it's impossible to speed this query up
> by an index, so you'll be matching the RegExp over each node in the
> document - not good.

It's not impossible - although I don't know of any XML database that 
does use indexes for regular expressions at the moment.


John Snelson, Berkeley DB XML Engineer
Sleepycat Software, Inc

Contracted to Sleepycat through Parthenon Computing Ltd

More information about the talk mailing list