src/Crossjoin/Css/Format/Rule/AtDocument/DocumentRule.php
public function setRegexp($regexp)
    {
        if (is_string($regexp)) {
            $this->regexp = $regexp;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($regexp) . "' for argument 'regexp' given. String expected."
            );
        }
    }
public function setRegexp($regexp)
    {
        if (is_string($regexp)) {
            $this->regexp = $regexp;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($regexp) . "' for argument 'regexp' given. String expected."
            );
        }
    }
public function setRegexp ( $ regexp ) { if ( is_string ( $ regexp ) ) { $ this -> regexp = $ regexp ; } else { throw new \ InvalidArgumentException ( "Invalid type '" . gettype ( $ regexp ) . "' for argument 'regexp' given. String expected." ) ; } }
Sets the document regular expression filter.

@param string $regexp
Sets the document regular expression filter .