[Mono-list] Bug: string literals and escape's
Adam Treat
manyoso@yahoo.com
Mon, 1 Apr 2002 22:46:27 -0800
Hello,
using System;
using System.Text.RegularExpressions;
class Foo {
public static void Main (string[] args)
{
Console.WriteLine (IsAnything("blah"));
Console.WriteLine (IsWhiteSpace(" "));
}
public static bool IsAnything (String str)
{
return Regex.IsMatch (str, @".*");
}
public static bool IsWhiteSpace (String str)
{
return Regex.IsMatch (str, @"\s");
}
}
produces.......
manyoso@manyoso:~/dev/csharp/makeup$ mcs Foo.cs
Needed to allocate blacklisted block at 0x8464000
RESULT: 0
manyoso@manyoso:~/dev/csharp/makeup$ mint Foo.exe
(process:7517): ** ERROR **: file tramp.c: line 455
(mono_create_method_pointer): should not be reached
aborting...
Trace/breakpoint trap