Question #176960 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/176960
Status: Open => Answered
RaiMan proposed the following answer:
typical job for regular expressions
example:
import re
only_numbers = re.compile('\d*')
if not re.match(only_numbers, password_string):
print "not valid"
read more:
Jython docs: http://www.jython.org/docs/library/re.html
best site on RegEx general: http://www.regular-expressions.info/
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp