# Yaf_Route_Regex::route

(Yaf >=1.0.0)

Yaf_Route_Regex::route — The route purpose

### Description

public Yaf_Route_Regex::route ( Yaf_Request_Abstract `$request` ) : bool

Route a incoming request.

Warning

This function is currently not documented; only its argument list is available.

### Parameters

`request`

### Return Values

If the pattern given by the first parameter of Yaf_Route_Regex::_construct() matche the request uri, return `TRUE`, otherwise return `FALSE`.