zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #10743
[Bug 867130] Re: Need ASCII regex
** Changed in: zorba
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867130
Title:
Need ASCII regex
Status in Zorba - The XQuery Processor:
Fix Released
Bug description:
As discussed on the zorba-coders mailing list, in order to build Zorba
without ICU, there needs to be a ASCII regular expression library to
take the place of ICU. The existing code in
zorbatypes/regex_ascii.h/.cpp needs to be wrapped by the existing
regex class for an alternate implementation when ZORBA_NO_UNICODE=ON,
e.g.:
#ifndef ZORBA_NO_UNICODE
// existing regex class
#else
// new regex class backed by regex_ascii
#endif
You probably also need to provide an alternate implementation of
convert_xquery_re() (in regex.h/.cpp) that currently converts an
XQuery regular expression into an ICU regular expression. If the
existing regex_ascii regular expressions exactly match XQuery regular
expressions, then the alternate implementation of convert_xquery_re()
can simply copy xq_re to lib_re as-is.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867130/+subscriptions