[Mono-bugs] [Bug 669813] New: Regex: Character class subtraction doesn't parse.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 6 17:32:15 EST 2011



           Summary: Regex: Character class subtraction doesn't parse.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tomas.matousek at microsoft.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8; Tablet PC

Regex "[abc-[ab]]" should be interpreted as a set difference: {'a', 'b', 'c'} \
{ 'a', 'b' }.

Reproducible: Always

Steps to Reproduce:
new System.Text.RegularExpressions.Regex("[abc-[ab]]")

Actual Results:  
`ParseCharacterClass': parsing "[abc-[ab]]" - [99-91] range in reverse
order.\r\nParameter name: [abc-[ab]]

Expected Results:  
A valid regex object.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list