Request.php
public function regex(string $condition)
    {
        $array = [];
        return $this->closure_array_walk(function ($key) use ($condition, &$array) {
            return $array[] = (preg_match($condition, $key) ? $key : false);
        })($array);
    }
public function regex(string $condition)
    {
        $array = [];
        return $this->closure_array_walk(function ($key) use ($condition, &$array) {
            return $array[] = (preg_match($condition, $key) ? $key : false);
        })($array);
    }
Preforms a regex expression using preg_match on each member of the set
@link http://php.net/manual/en/function.preg-match.php
@param string $condition
@return array|bool|mixed