private void skip(Pattern pattern) throws DecodeException {
  Matcher matcher=pattern.matcher(gserValue.substring(pos,length));
  if (matcher.find() && matcher.groupCount() >= 1) {
    pos+=matcher.end(1);
  }
 else {
    final LocalizableMessage msg=WARN_GSER_PATTERN_NO_MATCH.get(pattern.pattern(),gserValue.substring(pos,length));
    throw DecodeException.error(msg);
  }
}

private void skip ( Pattern pattern ) throws DecodeException { Matcher matcher = pattern . matcher ( gserValue . substring ( pos , length ) ) ; if ( matcher . find ( ) && matcher . groupCount ( ) >= 1 ) { pos += matcher . end ( 1 ) ; } else { final LocalizableMessage msg = WARN_GSER_PATTERN_NO_MATCH . get ( pattern . pattern ( ) , gserValue . substring ( pos , length ) ) ; throw DecodeException . error ( msg ) ; } }
skips the input matched by the first capturing group .
