summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-07-26 15:47:19 +0200
committerUrban Müller2022-07-26 15:47:19 +0200
commit4640a1e8b286c3ff2785abaddb9e449b023c88a7 (patch)
tree49d6db97feed276e17406183dd43d322cab70ded
parent75f9844eb428c10d9603a8d0dcd68b2548d96051 (diff)
downloaditools-4640a1e8b286c3ff2785abaddb9e449b023c88a7.tar.gz
itools-4640a1e8b286c3ff2785abaddb9e449b023c88a7.tar.bz2
itools-4640a1e8b286c3ff2785abaddb9e449b023c88a7.zip
make it::filter usable from it_pipe
-rw-r--r--it_pipe.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_pipe.class b/it_pipe.class
index 0c112d9..edc6dd8 100644
--- a/it_pipe.class
+++ b/it_pipe.class
@@ -2,7 +2,7 @@
class it_pipe implements Iterator
{
- static $parampositions = array('explode' => 1, 'preg_match' => 1, 'preg_split' => 1, 'it__match' => 1, 'it__replace' => 1);
+ static $parampositions = array('explode' => 1, 'preg_match' => 1, 'preg_split' => 1, 'it__match' => 1, 'it__replace' => 1, 'it__filter' => 1);
var $lines; # all lines currently in pipe
var $_valid;