- map.connect('/users/{id};{name}', controller='users', action='profile',
- conditions=dict(function=id_is_numeric))
- map.connect('/users/{id}', controller='users', action='profile',
- conditions=dict(function=id_is_numeric))
+ map.connect(r'/users/{id:\d+};{name}', controller='users', action='profile')
+ map.connect(r'/users/{id:\d+}', controller='users', action='profile')