From: Wolfgang M. <wol...@gm...> - 2005-05-24 17:45:29
|
> This points to another conceptual problem in the regex handling. I > will try to clean up the whole regexp and range index stuff and > present a fixed version soon. I have now fixed this problem. To speed-up index lookups, eXist used the first characters of the pattern to limit the portion of the btree that needs to be scanned. However, in XQuery, regular expressions match if any substring matches, so the first character of the pattern does not need to be the first character in the string. eXist now uses the first characters only if the regex starts with an "^" an= chor. Wolfgang |