Invalid regex character class not reported with ICU

Bug #974477 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Low
Paul J. Lucas

Bug Description

When using ICU, the query:

  fn:matches( "a", "[\s-e]" )

returns "false" even though it should raise err:FORX0002 because \s can't be used in a character class.

Tags: regex

Related branches

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

This has been fixed by ICU in versions 4.0 and later.

Changed in zorba:
status: Confirmed → Won't Fix
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

I think I may have been wrong. Anyway, it's being fixed.

Changed in zorba:
status: Won't Fix → In Progress
milestone: none → 2.5
Changed in zorba:
status: In Progress → Fix Committed
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.