Anyone here got Group's working with Regex on Mono?

just trying the following code:

using System.Text.RegularExpressions;
..........
static void ProcessFile( string file )
{
Match m = ismp3.Match( file );
if ( m.Success )
{
count++;
int[] gnums = ismp3.GetGroupNumbers();
Group g = m.Group( gnums[0] );
Console.WriteLine( count + " - " + g.ToString() );
}
}

For some reason this won't compile, saying:

mp3lister.cs(48) error CS0117: `System.Text.RegularExpressions.Match' does not contain a definition for `Group'


Anyone know whats up? Using mono-0.18-1 from rpm...


_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to