private String scanplain ( ) throws RegexException { int startp = now ; int endp ; assert see ( COLLEL ) || see ( ECLASS ) || see ( CCLASS ) ; lex . next ( ) ; endp = now ; while ( see ( PLAIN ) ) { endp = now ; lex . next ( ) ; } String ret = new String ( pattern , startp , endp - startp ) ; assert see ( END ) ; lex . next ( ) ; return ret ; }
scanplain - scan PLAIN contents of [ . etc . Certain bits of trickery in lex . c know that this code does not try to look past the final bracket of the [ . etc .