Skip to content

Commit

Permalink
Merge branch 'sm' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Caldwell committed May 20, 2011
2 parents 1ad4a63 + 9c5fb3e commit ca3f2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventEmitter.js
Expand Up @@ -22,7 +22,7 @@ function EventEmitter() {
* @return {String} RegExp pattern
*/
EventEmitter.prototype._convertNameToRegExp = function(name) {
return name.replace(/\./g, '\\.').replace(/\*\./g, '[\\w\\-]+\\.').replace(/\*$/gi, '.+');
return name.replace(/\./g, '\\.').replace(/\*\\\./g, '[\\w\\-]+\\.').replace(/\*$/gi, '.+');
};

/**
Expand Down

0 comments on commit ca3f2e9

Please sign in to comment.