Certain regexes involving ^ should be legal

Bug #1132032 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Paul J. Lucas

Bug Description

The test cases string/Regex/regex_err7.xq and string/Regex/regex_err25.xq both currently raise FORX0002, meaning the pattern is invalid. However, as far as I can tell, the pattern in both cases (^^ and a^ respectively) are both legal, although they can never match any input. The expected result of both tests should be "false", not an error.

Related branches

Chris Hillery (ceejatec)
Changed in zorba:
assignee: nobody → Paul J. Lucas (paul-lucas)
importance: Undecided → Medium
Changed in zorba:
status: New → In Progress
milestone: none → 2.9
summary: - Certain weird regexes should be legal
+ Certain regexes involving ^ should be legal
Changed in zorba:
status: In Progress → Fix Committed
Chris Hillery (ceejatec)
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.