Help with screen loc Regex
|
|
Code:
var regex/ScreenLocRegex = regex("(\\w+):(\\w+),(\\w+):(\\w+)")
Problem description:
I have been trying to create a regular expression for screen_loc. Right now, I'm trying to only use the traditional screen_loc which looks like
[x_dir]:[x_offset], [y_dir]:[y_offset]
Kaiochao's mouse position library does take into consideration of if they were all integers but, the problem that I'm facing is that I want to take each part of the screen_loc as a String. If anyone knows the Regex I can use then I'll be very grateful
|