Search a variable for an address
- by chrissygormley
Hello,
I am trying to match information stored in a variable. I have a list of uuid's and ip addresses beside them. The code I have is:
r = re.compile(r'urn:uuid:5EEF382F-JSQ9-3c45-D5E0-K15X8M8K76')
m = r.match(str(serv))
if m1:
print'Found'
The string serv contains is:
…