Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1006 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Failed regex pattern matching?

Reported by: jhouse Assigned to: jascha
Priority: major Milestone: 0.99.6
Component: Core Functionality Version: 0.99.5 Jascha
Keywords: Cc:

Description (Last modified by kris)

Regex("[^0-9]").test("9")

returns true. This is the opposite of many other regex implementations (such as sed or grep -E)

Change History

03/26/08 23:57:28 changed by kris

  • owner changed from sean to jascha.
  • description changed.

03/27/08 04:44:33 changed by jascha

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

(In [3400]) fixed: negated char-classes matched the virtual EOS = 0 character (this closes #1006)