zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12022
[Bug 1023168] [NEW] Non-single-char-escapes in regex character ranges not caught
Public bug reported:
Regular expressions like:
[\s-A]
[A-\w]
i.e., those that involve non-single-character-escapes inside character
ranges are illegal according to "XML Schema Part 2: Datatypes Second
Edition: F Regular Expressions." ICU either does not consider this an
error or does not catch it. The Zorba code that translates XQuery
regular expressions into ICU regular expressions also doesn't check for
it -- it's non-trivial to do.
** Affects: zorba
Importance: Low
Assignee: Paul J. Lucas (paul-lucas)
Status: Triaged
** Tags: regex
** Changed in: zorba
Importance: Undecided => Low
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1023168
Title:
Non-single-char-escapes in regex character ranges not caught
Status in Zorba - The XQuery Processor:
Triaged
Bug description:
Regular expressions like:
[\s-A]
[A-\w]
i.e., those that involve non-single-character-escapes inside character
ranges are illegal according to "XML Schema Part 2: Datatypes Second
Edition: F Regular Expressions." ICU either does not consider this an
error or does not catch it. The Zorba code that translates XQuery
regular expressions into ICU regular expressions also doesn't check
for it -- it's non-trivial to do.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1023168/+subscriptions
Follow ups
References