[Mono-bugs] [Bug 523420] New: (?-x-i-s) vs. (?-xis) Regex Options
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 20 04:31:14 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=523420
Summary: (?-x-i-s) vs. (?-xis) Regex Options
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: rusvdw at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Description of Problem:
The Mono Regex class throws an Invalid Options exception when a regex strings
contains the options (?-x-i-s). If you change the option string to (?-xis), it
works as expected.
Steps to reproduce the problem:
1. Create a regex expression that starts with "(?-x-i-s)"
2. Compile the expression
Actual Results:
An Invalid Option exception is thrown.
Expected Results:
Same results as if (?-xis) is used.
How often does this happen?
Always.
Additional Information:
While the Microsoft documentation never mentions (?-x-i-s) as being valid
syntax, it does work on the Microsoft.NET platform, but not on Mono.
--
Configure bugmail: http://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