[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgCommand.cs,1.38,1.39
Status: Inactive
Brought to you by:
carlosga_fb
From: Carlos G. Á. <car...@us...> - 2004-06-12 14:26:19
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23773 Modified Files: PgCommand.cs Log Message: 2004-06-12 Carlos Guzman Alvarez <car...@te...> * PostgreSql.Data.PgSqlClient/PgCommand.cs: - Fix regex usage (it waqs working in .NET but not in mono i have sent an email to the mono list and i'm wainting for response for now if it's a mono problem) Index: PgCommand.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** PgCommand.cs 12 Jun 2004 14:18:57 -0000 1.38 --- PgCommand.cs 12 Jun 2004 14:26:10 -0000 1.39 *************** *** 682,686 **** string pattern = @"(('[^']*?\@[^']*')*[^'@]*?)*(?<param>@\w+)*([^'@]*?('[^']*?\@*[^']*'))*"; ! Regex r = new Regex(pattern, RegexOptions.ExplicitCapture | RegexOptions.Multiline); MatchEvaluator me = new MatchEvaluator(matchEvaluator); --- 682,686 ---- string pattern = @"(('[^']*?\@[^']*')*[^'@]*?)*(?<param>@\w+)*([^'@]*?('[^']*?\@*[^']*'))*"; ! Regex r = new Regex(pattern, RegexOptions.ExplicitCapture); MatchEvaluator me = new MatchEvaluator(matchEvaluator); |