summaryrefslogtreecommitdiff
path: root/ext/spl/internal/regexiterator.inc
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-07-20 21:21:20 +0000
committerMarcus Boerger <helly@php.net>2006-07-20 21:21:20 +0000
commitbec72dba2ac4efb1a82a061cb641fb39cce7ec39 (patch)
treed6655c858e2260c6f38e961b04a4ad4a088b08fc /ext/spl/internal/regexiterator.inc
parentb5b5944ddf520a2a6eb2e8f3762513b8f7671185 (diff)
downloadphp-git-bec72dba2ac4efb1a82a061cb641fb39cce7ec39.tar.gz
- Update RegexIterator
Diffstat (limited to 'ext/spl/internal/regexiterator.inc')
-rwxr-xr-xext/spl/internal/regexiterator.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/internal/regexiterator.inc b/ext/spl/internal/regexiterator.inc
index 8c38dcc562..bdbf39f548 100755
--- a/ext/spl/internal/regexiterator.inc
+++ b/ext/spl/internal/regexiterator.inc
@@ -12,7 +12,7 @@
/**
* @brief Regular expression filter for iterators
* @author Marcus Boerger
- * @version 1.1
+ * @version 1.0
* @since PHP 5.1
*
* This filter iterator assumes that the inner iterator
@@ -26,6 +26,7 @@ class RegexIterator implements FilterIterator
const GET_MATCH = 1; /**< Mode: Return the first matche (if any) */
const ALL_MATCHES = 2; /**< Mode: Return all matches (if any) */
const SPLIT = 3; /**< Mode: Return the split values (if any) */
+ const REPLACE = 4; /**< Mode: Replace the input key or current */
private $regex; /**< the regular expression to match against */
private $flags; /**< special flags (self::USE_KEY) */