chaplinjs/chaplin — pull request #738 by ktusznio (2013-12-17 17:30:07+00:00)
Title: Add support for optional route parameters.

Following Backbone style, optional portions of a route are surrounded by parens (eg. "items(/page/:page)").

`escapeRegExp` and `optionalParam` match what's currently in Backbone master.