i want parse string like this
0.1142 0.0000 0.0000 0.0004 0.0000 0.0000 2299/2299 MakeRequest [23]
I want get ol doubles from this string. I am using next pattern
.+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\.]+) [\\p{Space}]+ ([0-9\\/])+ [\\p{Space}] "\\.(MakeRequest) .+
And this string is parsed well.
But i cann't parse next string!
20.1600 0.0001 0.0000 0.0053 0.0001 0.0000 383248/383248 MakeRequest [22]
This string are very similar! But first is parsed, second not:-(
Update Easily pattern
.+ ([0-9\\.]+) .+ ([0-9\\.]+) .+([0-9\\.]+) .+ ([0-9\\.]+) .+ ([0-9\\.]+) .+ ([0-9\\.]+) .+ ([0-9\\/])+ .+\\.(MakeRequest) .+
Don't works too
I'm using
java.util.regex.Pattern
and
java.util.regex.Matcher
+symbols between the last two groupings?[\\p{Space}]+ + "\\.(MakeRequest) .+?