[Mono-bugs] [Bug 575109] New: Regex can't handle an empty group name
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 29 05:47:20 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=575109
http://bugzilla.novell.com/show_bug.cgi?id=575109#c0
Summary: Regex can't handle an empty group name
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: amcgovern at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
A silverlight based website (toolkit control kit demo, SL3 version) is throwing
this exception when trying to use a regex:
System.ArgumentException: parsing
"^/System.Windows.Controls.Samples;component/(?<>.*?)/Query/(?<x>.*?)/(?<y>.*?)/(?<z>.*?)$"
- Bad group name.
Initial inspection of the regex looks like the issue is that the first group
name is empty: (?<>.*<). It's possible that the fix is simply to allow empty
group names.
--
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