Question #232183 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232183
Status: Open => Answered
RaiMan proposed the following answer:
The version from comment #9 makes an integer value (ignoring any
fraction or whatever comes after the first consecutive range of digits)
whereas the version from comment #11 returns a float (decimal value), if
the text contains a fraction like .00 or ,00. Otherwise it is a decimal
value with fraction 0.
This is the magic of RegularExpressionMatching: you define what you want
to see (the whole pattern) and what you want to have extracted (the
parts enclosed in braces () numbered 1+ from left to right). It is very
powerful, but somewhat mysthic ;-)
--
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