[Mono-dev] Mono Regex not working the same as MS .NET

Vladimir Giszpenc vgiszpenc at dsci.com
Mon Jul 27 08:53:24 EDT 2009


> oh man, am i ever embarrassed...  you are right on. :blush:
> 
> with that change, the code works as expected.
> 
> Thank you!
> --Dan Gentry
> 
> > I would suspect the \r\n part of the pattern.  On UNIX systems new
> line
> > does
> > not include the \r.
> >
> > ---
> > Adar Wesley

You could also try using System.Environment.NewLine.  I don't know if
MoMA checks for it, but it is a good thing like Path.Combine() for cross
platform code.

Cheers,

Vlad


More information about the Mono-devel-list mailing list