summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2013-02-04 14:20:58 +0000
committerUrban Müller2013-02-04 14:20:58 +0000
commit093d9ed045c922e16ee1c12704718f51b40d1e8f (patch)
tree64f87c03f2f54203d2b6ab16cbc4b7780fc8e23e
parent796f9d6690e3f2ff0dc01ab113529143e137fbe1 (diff)
downloaditools-093d9ed045c922e16ee1c12704718f51b40d1e8f.tar.gz
itools-093d9ed045c922e16ee1c12704718f51b40d1e8f.tar.bz2
itools-093d9ed045c922e16ee1c12704718f51b40d1e8f.zip
support ->replace()
-rw-r--r--it_pipe.class2
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: