@Test
public void testExampleFromHomepage_advancedExample_thirdImprovement() throws Exception {

    // second improvement
    Modifier myModifier2 = new RegexModifier("edit(\\s++stream)", Pattern.DOTALL, "modify$1");
    // test: does not use look-behind
    assertNotEquals("credit stream", modify("credit stream", myModifier2));
    // third and final improvement
    Modifier myModifier3 = new RegexModifier("(?<=\\s)edit(\\s++stream)", Pattern.DOTALL, "modify$1", 1, 2048);
    // test: uses look-behind
    assertEquals("credit stream", modify("credit stream", myModifier3));
}