[Mono-list] Regex question

Chris Turchin chris@turchin.net
Wed, 18 Feb 2004 02:28:53 -0800 (PST)


How about something like:

\W+(@\w+)\W+

--chris

On Wed, 18 Feb 2004, Carlos Guzm=E1n =C1lvarez wrote:

> Hello:
>
> Any idea on how to extract named parameters from a sql command using
> regex ??
>
> For example having this:
>
> update users set PhotoPath =3D 'carlos@domain.com' where userid =3D @user=
id
>
>
> I need to extract only:
>
> @userid
>
>
>
> Any idea ??
>
>
>
> --
> Best regards
>
> Carlos Guzm=E1n =C1lvarez
> Vigo-Spain
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>