<br><div class="gmail_quote">Hi,<br>I have a small program where I want to do just a small regex operation. <br>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. <br>
<br>for example say: <br>B="xxxxyyyydpkg.ipazzzzz<br>The code works fine when A="dpkg"<br>however the code does not work when A="dpkg.ipa"<br><br>if re.search(A,B):<br> # do something.<br><br>
Can somebody please help me ? <br><br><br><br>
</div><br>