From 093d9ed045c922e16ee1c12704718f51b40d1e8f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 4 Feb 2013 14:20:58 +0000 Subject: support ->replace() --- it_pipe.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_pipe.class b/it_pipe.class index ffd69d1..28ef36a 100644 --- a/it_pipe.class +++ b/it_pipe.class @@ -2,7 +2,7 @@ class it_pipe implements Iterator { - static $lastargfunc = array('explode' => 1, 'preg_match' => 1, 'preg_split' => 1, 'it__match' => 1); + static $lastargfunc = array('explode' => 1, 'preg_match' => 1, 'preg_split' => 1, 'it__match' => 1, 'it__replace' => 1); /** * Creates a pipe object from input. Named arguments: -- cgit v1.2.3