Hi, 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:
B="xxxxyyyydpkg.ipazzzzz
The code works fine when A="dpkg"
however the code does not work when A="dpkg.ipa"
if re.search(A,B):
# do something.
Can somebody please help me ?
-- http://mail.python.org/mailman/listinfo/python-list
