P
Peter
i'm using the following line to try and extract some data from a file
($probe) =~ m/\(-vop crop\=(\d+)\\d+)\d+)\d+)/;
This is the information i'm sorting through in the file.
crop area: X: 0..718 Y: 0..479 (-vop crop=718:480:0:0)
I want to get the 4 crop values 718, 480, 0, 0 all stored
in separate variables.
using
($probe) =~ m/\(-vop crop\=(\d+)/;
gets me the 718, but using the whole line at the top doesn't get me the
last 0
it also returns 718.. any idea how to get the other 3 values.
I really need the last 0.
Thanks
($probe) =~ m/\(-vop crop\=(\d+)\\d+)\d+)\d+)/;
This is the information i'm sorting through in the file.
crop area: X: 0..718 Y: 0..479 (-vop crop=718:480:0:0)
I want to get the 4 crop values 718, 480, 0, 0 all stored
in separate variables.
using
($probe) =~ m/\(-vop crop\=(\d+)/;
gets me the 718, but using the whole line at the top doesn't get me the
last 0
it also returns 718.. any idea how to get the other 3 values.
I really need the last 0.
Thanks