question: protected boolean match ( String expected , String actual ) { return Pattern . matches ( expected , actual ) ; }
target:  A convenience method which returns true if the actual string matches the expected regular expression.