help regarding re.search
nevesagar at gmail.com
Thu Sep 15 03:41:43 CEST 2011
I have a small program where I want to do just a small regex operation.
I want to see if value of a variable 'A' is present in an another variable
'B'. The below code works fine but as soon as the variable 'A' has some
string including a dot it fails.
for example say:
The code works fine when A="dpkg"
however the code does not work when A="dpkg.ipa"
# do something.
Can somebody please help me ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list