It matches everything, but the capture group will only catch what's at the end. Your only option here is to use a regex to eat the first part, then create another to eat and match the params one at a time, then repeatedly call Matcher.find()
on that part of the input and pull out the param. You can then use another regex to eat the rest of the input. This will be an ugly mess, which is why you should use either a parser generator or an XML parser instead.
Jeremy W. Sherman
2010-10-22 17:55:15