Ticket #5386 (closed defect: fixed)

Bug contains 72 commit(s) | SVN Diffs for #5386

 

Opened 2 years ago

Last modified 3 months ago

Regexp set expressions, conform to standard usage

Reported by: heninger(at)us.ibm.com Assigned to: andy
Priority: major Milestone: 4.0
Component: regexp Version:
Keywords: regexp Cc:
Load: Xref:
Java Version: Operating System: all
Project (C/J): ICU4C Weeks: 2
Review: dbertoni

Description

There is common syntax for regular expression [bracket expressions] that ICU does not fully follow. This is a consequence of using the UnicodeSet parser to handle bracket expressions.

The differences are confusing to users, who typically expect standard Perl/Posix behavior.

Do something to fix up ICU regexp. There are questions of compatibility, because ICU exists now with the its own escaping behaviors.

UnicodeSet's syntax can not be changed, for compatibility reasons. A new regexp-specific set parser is probably needed.

Attachments

Change History

12/31/69 17:45:14 changed by auditor

  • Mon Oct 2 18:42:58 2006 grhoten changed notes2: assign: "" to "andy", priority: "" to "high", weeks: "" to "2",
  • Mon Oct 2 23:56:57 2006 andy changed notes2: target: "UNSCH" to "3.8",

02/02/07 14:30:16 changed by andy

  • xref changed.
  • java changed.
  • revw changed.
  • milestone changed from 3.8 to 3.8 M2.

08/31/07 10:59:55 changed by andy

  • load changed.
  • milestone changed from 3.8 M2 to 4.0.

12/11/07 14:00:56 changed by andy

  • status changed from new to assigned.
  • revw set to dbertoni.

The scope of this ticket was expanded to include both pattern features and API functions that were introduced in Java with JDK 1.5.

10/15/08 09:39:03 changed by dbertoni

  • status changed from assigned to closed.
  • resolution set to fixed.

Add/Change #5386 (Regexp set expressions, conform to standard usage)




Anti spam check: