question: private boolean hasNext ( Pattern pattern ) { if ( ! hasNext ( ) ) { return false ; } Matcher matcher = pattern . matcher ( gserValue . substring ( pos , length ) ) ; return matcher . find ( ) ; }
target:  Determines if the remaining GSER String matches the provided pattern.