Permalink
Browse files

rollback of last commit

  • Loading branch information...
1 parent 1d05e9b commit 96a485736ffdd5a0fae2b3f0d9d566bb96f4c4ce @vadimdemedes committed Mar 13, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/route66.coffee
  2. +1 −1 lib/route66.js
  3. +1 −1 package.json
View
@@ -44,7 +44,7 @@ Route66.addRoute = (method, route, functions) -> # generic method for adding rou
Route66.routes[method].push
route: route
- regex: new RegExp('^' + route.replace(/\//g, '\\/').replace(/\:([A-Za-z_]+)(\?)?\/?/g, '$2([A-Za-z0-9@.=_-]+)$2') + '\\/?$') # making RegExp from string
+ regex: new RegExp('^' + route.replace(/\//g, '\\/').replace(/\:([A-Za-z_]+)(\?)?\/?/g, '$2([A-Za-z0-9@._-]+)$2') + '\\/?$') # making RegExp from string
params: params
functions: if functions instanceof Array then functions else toArray(functions).slice 1
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "route66",
- "version": "0.2.5",
+ "version": "0.2.7",
"author": "Vadim Demedes <sbioko@gmail.com>",
"description": "Routing functionality/middleware for Connect 2.0",
"main": "./index.js",

0 comments on commit 96a4857

Please sign in to comment.