I have been using Rubular.com to come up with a regex pattern to try to parse this string for the values 596 and 777 and put them in an array:
Current mouse position: 596,777
I have been building this in IRB and testing it with t.scan(/(?:\d)/)
This yields: ["4", "5", "1", "1", "1", "3", "7"] which is not correct.
Does anyone have any pointers?