Issue with Pattern Match (");
I am trying to use re.sub to pattern match the expression - ("); and replacce it with -- (
Instead it is replacing with )
My code is like this:
queryString.append( "INSERT INTO TBL ( ");
queryString.append( "A1,A2,A3,A4, ");
queryString.append( "B1,B2,B3,B4, ");
queryString.append( "C1,C2 ) VALUES(");
queryString.append( ", ?, ?, ? ,?)");
The output of which would parse the proper insert statement.
Please suggest the pattern match i need to use.
|All times are GMT. The time now is 08:51 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.