[Mono-list] Regular expression question
Gonzalo Paniagua Javier
gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Sat, 12 Jun 2004 16:28:20 +0200
El sáb, 12-06-2004 a las 16:19, Carlos Guzmán Álvarez escribió:
> Hello:
>
> Atatched is a sample test case using regular expressions
> that fails in mono (Fedora Core 1) but works fine in .NET.
>
> The problem seems to be in the:
>
> return Regex.Replace(input, g.Value, "$1");
>
> it can be fixed using:
>
> return Regex.Replace(input, g.Value, "$$1");
>
>
> But as the code works fine in .NET using a single $ i want to
> know if it's a mono problem or the double $$ is tyhe correct syntax ??
/me looks at bugzilla ;-)
-Gonzalo