classes/phing/filters/LineContainsRegexp.php
public function setRegexp($pattern)
    {
        $regexp = new RegularExpression();
        $regexp->setPattern($pattern);
        $this->_regexps[] = $regexp;
    }
public function setRegexp($pattern)
    {
        $regexp = new RegularExpression();
        $regexp->setPattern($pattern);
        $this->_regexps[] = $regexp;
    }
public function setRegexp ( $ pattern ) { $ regexp = new RegularExpression ( ) ; $ regexp -> setPattern ( $ pattern ) ; $ this -> _regexps [ ] = $ regexp ; }
Set the regular expression as an attribute.
Set the regular expression as an attribute .