You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpsqsStatus.java line58:
protected static Pattern pattern = Pattern.compile("HTTP Simple Queue Service
v(.+?)\\s(?:.+?)\\sQueue Name: (.+?)\\sMaximum number of queues: (\\d+)\\sPut
position of queue \\((\\d+)st lap\\): (\\d+)\\sGet position of queue
\\((\\d+)st lap\\): (\\d+)\\sNumber of unread queue: (\\d+)");
since the client use (\\d+)st lap to match the first lap, it will cause regex
matching failed when the unread number goes into lap 2 or latter.
I change the pattern as follows:
protected static Pattern pattern = Pattern.compile("HTTP Simple Queue Service
v(.+?)\\s(?:.+?)\\sQueue Name: (.+?)\\sMaximum number of queues: (\\d+)\\sPut
position of queue \\((\\d+)\\w\\w lap\\): (\\d+)\\sGet position of queue
\\((\\d+)\\w\\w lap\\): (\\d+)\\sNumber of unread queue: (\\d+)");
hope this would help
Original issue reported on code.google.com by [email protected] on 7 Jan 2011 at 8:16
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 7 Jan 2011 at 8:16The text was updated successfully, but these errors were encountered: