codeguy/Slim — Issue #214: Allow true regular expression route patterns
Author: codeguy
Created: 2012-01-08 05:00:05+00:00
State: open
Labels: Priority - Medium, Type - New Feature

All users to definte routes using regular expressions. Example concept:

$app->mapWithRegExp('/archive/((19|20)\d\d)', function ( $matches ) {
//$matches is an array of captures when the regex is compared to the request URI
})->via('GET');