boolean function ( String arg0 , String arg1 ) { String loc0 = arg1 . replaceAll ( "srini_string" , "srini_string" ) ; String loc1 = Pattern . quote ( arg0 ) . replaceAll ( Pattern . quote ( "srini_string" ) , "srini_string" ) . replaceAll ( "srini_string" , "srini_string" ) ; return loc0 . matches ( "srini_string" + loc1 + "srini_string" ) ; }
checks that the stringactual contains the occurrence regexexpected . occurrences of at regexexpected can match anything as defined by the regex . in stringactual , however , in its usage with htmlhelper , please refrain from these usages as they will not pass : empty contents right after an html tag , e.g < p > < / p > will not match < p > < / p > and neither will < p > content < br > < / p > match < p > content < br > < / p > . html attribute-value pair without the = separator , e.g < div class > will not match < div class = `` test '' > but < div class ={ > or < div class = '' '' > will . non-empty html attribute-value pairs , e.g < div > will not match < div class = `` test '' > but will match < div class = '' '' > . < div class = '' '' > , however , will match both . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertDateIsNow concode_elem_sep void assertDateWithinRange concode_elem_sep void assertLogMessageEquals concode_elem_sep void assertLogMessageEquals concode_elem_sep void assertSameDates concode_elem_sep void assertContains concode_elem_sep void assertContains concode_elem_sep void assertContains concode_elem_sep void assertContainsRegex concode_elem_sep void assertContainsRegex concode_elem_sep void assertLogMessageEqualsForUnregisteredStudentUser concode_elem_sep void assertSameContentIgnoreOrder