public String skipped ( ) { int start = 0 ; if ( stack . size ( ) > 1 ) { start = stack . get ( stack . size ( ) - 2 ) . end ( ) ; } int end = stack . get ( stack . size ( ) - 1 ) . start ( ) ; return text . subSequence ( start , end ) . toString ( ) ; }
Returns the skipped text after successfull call to find