Invalid regex character class not reported with ICU
Bug #974477 reported by
Paul J. Lucas
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.
Related branches
lp:~paul-lucas/zorba/bug-994610
- Ghislain Fourny: Approve
- Paul J. Lucas: Approve
-
Diff: 197 lines (+103/-71)2 files modifiedsrc/util/regex.cpp (+98/-68)
test/rbkt/Queries/CMakeLists.txt (+5/-3)
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 has been fixed by ICU in versions 4.0 and later.