question: public void register ( String pattern , String result ) { Assert . isTrue ( matchers . size ( ) == results . size ( ) ) ; pattern = pattern . trim ( ) ; if ( pattern . length ( ) == 0 ) { return ; } matchers . add ( new StringMatcher ( pattern , false , false ) ) ; results . add ( result ) ; }
target:  register a pattern and an associated string 