-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
修改为:
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+ lap\\): (\\d+)\\sGet position of queue
\\((\\d+)\\w+ lap\\): (\\d+)\\sNumber of unread queue: (\\d+)");
主要当put第二轮的时候\\d+nd 而原来在正则还是匹配
\\d+st改成 (\\d+)\\w+:
Queue Name: low
Maximum number of queues: 1000000
Put position of queue (2nd lap): 29068
Get position of queue (1st lap): 997815
Number of unread queue: 31253
Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 3:27