src/Charcoal/Property/StringProperty.php
public function regexp()
    {
        if ($this->regexp === null) {
            $this->regexp = self::DEFAULT_REGEXP;
        }

        return $this->regexp;
    }
public function regexp()
    {
        if ($this->regexp === null) {
            $this->regexp = self::DEFAULT_REGEXP;
        }

        return $this->regexp;
    }
public function regexp ( ) { if ( $ this -> regexp === null ) { $ this -> regexp = self :: DEFAULT_REGEXP ; } return $ this -> regexp ; }
Retrieve the regular expression to check the value against.

@return string
Retrieve the regular expression to check the value against .