How to slim framework to convey routing value with a dot?

API version to be transmitted in response slim but says 404 appear the problem dotes of the addressI
have

slim 2.6 *

Sample request

/api/v1.0.2

am doing
$app->get(’/api/:ver’, function ($ver) use ($app,$DB) {
echo $ver;
})->conditions(array(‘ver’ => ‘^v[0-9].[0-9].[0-9]’));

Look at [http://docs.slimframework.com/routing/conditions/]

Guess you have to escape the dots \.
Not sure if the ^ is needed either.

http://127.0.0.1:8000/test/v10.0

$app->get('/test/v:ver', function ($ver) use ($app,$DB) {
	echo $ver.'--';
})->conditions(array(
	'ver' 	=> '[0-9]\.[0-9]'
	));

The requested resource /test/v10.0 was not found on this server.