[Mono-list] Regex question

Carlos Guzmán Álvarez carlosga@telefonica.net
Wed, 18 Feb 2004 15:07:30 +0100


Hello:

>         string regex =
> @"(('[^']*?\@[^']*')*[^'@]*?)*(?<param>@\w+)([^'@]*?('[^']*?\@[^']*'))*";

I have done a little modification, for avoid hang when there are no 
named parameters:

@"(('[^']*?\@[^']*')*[^'@]*?)*(?<param>@\w+)*([^'@]*?('[^']*?\@[^']*'))*"

let me know if it's not correct :)





--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain