--- embedaddon/php/ext/spl/internal/regexiterator.inc 2012/02/21 23:48:01 1.1.1.1 +++ embedaddon/php/ext/spl/internal/regexiterator.inc 2012/05/29 12:34:43 1.1.1.2 @@ -158,6 +158,13 @@ class RegexIterator extends FilterIterator { $this->preg_flags = $preg_flags; } + + /** @return current regular expression + */ + function getRegex() + { + return $this->regex; + } } ?>