RegexpMatch[] matches = matcher.getMatches(PATTERN, chopped);
if (matches.length != 1)
throw new ApplicationRuntimeException(ValidatorMessages.badSpecification(specification));
RegexpMatch match = matches[0];
String name = match.getGroup(1);
String value = match.getGroup(3);
String message = null;
int length = match.getMatchLength();
if (chopped.length() > length)
{
char lastChar = chopped.charAt(length);
if (lastChar == ',')