[Tutor] regular expression need help

Hemantharaju Subbanna rajusubbanna at yahoo.com
Mon Nov 20 21:06:44 CET 2006


>>>a
'\\ABC'
>>>b
'THIS \\ABC'

I am looking for the expression that would tell me if
the line has "\\" 

re.match('',a)

tried to escape, python complains of syntax

Please help with the regular expression that would
check for this double slash

Thank you
--raju



 
____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. 
$310k for $999/mo. Calculate new payment! 
www.LowerMyBills.com/lre


More information about the Tutor mailing list