rem: bool Match::process( const char* string ) const { unsigned state = 0; while ( *string ) { state |= 1; state &= masks_[ ( unsigned char )*string ]; state <<= 1; if ( getbit( state, pat_len_ ) ) return true; ++string; } return !pat_len_; }
add: bool process( std::string str ) const { return process( str.c_str() ); }
context: bool Match::process( const char* string ) const {	unsigned state = 0;	while ( *string ) {		state |= 1;		state &= masks_[ ( unsigned char )*string ];		state <<= 1;		if ( getbit( state, pat_len_ ) ) return true;		++string;	}	return !pat_len_;}