[Mono-devel-list] Regex: 'Split' function problem.

Eric Durand-Tremblay erdut2 at ulaval.ca
Thu Feb 12 11:16:54 EST 2004


Namit Dhameja a écrit :

> Hi,
>     I ran into problems when using the following code:
>  
>  parseWith = "/";
>  Regex regPath = new Regex(parseWith,RegexOptions.RightToLeft);
>  return regPath.Split(parseString);
>  
> Basically it throws an exception at 'regPath.Split', the workaround is 
> to use the code below:
>  
> char[] c = {'/'};
> string[] pS = parseString.Split(c,parseString.Length-1);
> return pS;
>  
> -Best Regards,
> Namit.
>
Hello Namit,

It would be helpfull if you could write a bug in bugzilla.  I will check 
it soon.

Eric Durand-Tremblay
TIP-Mono Team
Blog : http://aeglos.dyndns.org/tip-mono/




More information about the Mono-devel-list mailing list