DMS\Filter\Filters\PregReplaceTest::provideForRule PHP Method

provideForRule() public method

public provideForRule ( )
    public function provideForRule()
    {
        return array(array(array('regexp' => '/(old )/'), "the crazy old fox", "the crazy fox"), array(array('regexp' => '/(old)/', 'replacement' => 'new'), "the crazy old fox", "the crazy new fox"), array(array('regexp' => '/([0-9]*)/'), "this is day 21", "this is day "), array(array('regexp' => '/(style=\\"[^\\"]*\\")/'), "<table style=\"width: 23px\" class=\"myclass\">", "<table  class=\"myclass\">"));
    }