rpflorence/react-nested-router — pull request #52 by bjyoungblood (2014-06-26 15:29:39+00:00)
Title: Parameter constraints

Adds the ability to specify regex constraints for param values on individual routes. Example:

```javascript

var constraints = { id : /^\d+/, action: /^(create|read|update|delete)$/ };
React.renderComponent((

), document.body);

```

In this example, the path `/posts/123/read` will route to `PostPage`, while the paths `/posts/abc/read` and `/posts/123/foobar` will route to `NotFoundPage`.