[Mono-bugs] [Bug 439947] [Regression] CILCompiler changes break NAnt

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 30 07:01:08 EDT 2008


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

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=439947#c1


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be
         AssignedTo|mono-bugs at lists.ximian.com                      |vargaz at gmail.com
            Summary|Broken Nant on recent Mono revisions.           |[Regression] CILCompiler changes break NAnt




--- Comment #1 from Gert Driesen <gert.driesen at pandora.be>  2008-10-30 05:01:07 MDT ---
Here's a small repro:

using System;
using System.Text.RegularExpressions;

class Program
{
        static void Main ()
        {
                Regex r;

                r = new Regex ("(?<=^|/)[^/]*\\.cs$", RegexOptions.None);
                Console.WriteLine (r.IsMatch ("z/text2.cs"));

                r = new Regex ("(?<=^|/)[^/]*\\.cs$", RegexOptions.Compiled);
                Console.WriteLine (r.IsMatch ("z/text2.cs"));
        }
}

Both should return True, but in SVN HEAD (due to CIL compiler changes) the
second case return False.


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