Skip to content

Commit

Permalink
Fix Box.Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Mar 19, 2014
1 parent e4c33b4 commit 4e17780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/box/pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var Pattern = module.exports = function Pattern(rule){
var params = [];

var regex = escape.regex(rule)
.replace(/\\\*/g, '*')
.replace(rParam, function(match, optional, operator, name){
params.push(name);

Expand Down

0 comments on commit 4e17780

Please sign in to comment.