[Mono-bugs] [Bug 541823] Regex class doesn't match when it should

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 10 23:51:56 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=541823

https://bugzilla.novell.com/show_bug.cgi?id=541823#c3


Michael Letterle <michael.letterle at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.letterle at gmail.com

--- Comment #3 from Michael Letterle <michael.letterle at gmail.com> 2011-06-11 03:51:54 UTC ---
Also running into this bug trying to run IronRuby with rubygems on Mono.

The specific issue is that the regex:
(?-six:\A[\s]*(=|!=|>|<|>=|<=|~>)?[\s]*([0-9]+(\.[0-9a-zA-Z]+)*)[\s]*\z)
Does not match ">= 0" in mono but does match on .NET

Reducing the regex to (?-six:\A[\s]*(>=)?[\s]*([0-9]+(\.[0-9a-zA-Z]+)*)[\s]*\z)

Causes it to match. So confirming the previous comment.

-- 
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