I'm pretty sure I'm missing something very elementary here as I'm normally ok with Python & Regex. I'm looking to see if the string supplied contains at least one number, and this is the command line I'm going through, but always getting false...
>>> import re
>>> test_string = "123567890"
>>> pat = re.compile("[0-9]")
>>> pat.search(test_string) == True
False
Before posting this I've tried a few other permutations and not getting very far, what am I doing wrong?