public void doReplaceRegExpTests( RegExpProvider pREP ) throws Exception {
RegExp re01 = pREP.make( "a", "b" );
assertEquals( "b", re01.replaceAll( "a" ) );
assertEquals( "bb", re01.replaceAll( "aa" ) );
assertEquals( "ba", re01.replaceFirst( "aa" ) );
assertEquals( "xb", re01.replaceFirst( "xa" ) );
RegExp re02 = pREP.make( "a" );
assertEquals( "", re02.replaceAll( "a" ) );