src/Expose/Manager.php
public function isException($path)
    {
        $isException = false;
        foreach ($this->exceptions as $exception) {
            if ($isException === false) {
                if ($path === $exception || preg_match('/^'.$exception.'$/', $path) !== 0) {
                    $isException = true;
                }
            }
        }

        return $isException;
    }
public function isException($path)
    {
        $isException = false;
        foreach ($this->exceptions as $exception) {
            if ($isException === false) {
                if ($path === $exception || preg_match('/^'.$exception.'$/', $path) !== 0) {
                    $isException = true;
                }
            }
        }

        return $isException;
    }
public function isException ( $ path ) { $ isException = false ; foreach ( $ this -> exceptions as $ exception ) { if ( $ isException === false ) { if ( $ path === $ exception || preg_match ( '/^' . $ exception . '$/' , $ path ) !== 0 ) { $ isException = true ; } } } return $ isException ; }
Test to see if a variable is an exception
Checks can be exceptions, so we preg_match it

@param string $path Variable "path" (Ex. "POST.foo.bar")
@return boolean Found/not found
Test to see if a variable is an exception Checks can be exceptions so we preg_match it