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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs