diff options
author | Urban Müller | 2013-02-04 14:20:58 +0000 |
---|---|---|
committer | Urban Müller | 2013-02-04 14:20:58 +0000 |
commit | 093d9ed045c922e16ee1c12704718f51b40d1e8f (patch) | |
tree | 64f87c03f2f54203d2b6ab16cbc4b7780fc8e23e | |
parent | 796f9d6690e3f2ff0dc01ab113529143e137fbe1 (diff) | |
download | itools-093d9ed045c922e16ee1c12704718f51b40d1e8f.tar.gz itools-093d9ed045c922e16ee1c12704718f51b40d1e8f.tar.bz2 itools-093d9ed045c922e16ee1c12704718f51b40d1e8f.zip |
support ->replace()
-rw-r--r-- | it_pipe.class | 2 |
1 files changed, 1 insertions, 1 deletions
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: |