Skip to content

Commit

Permalink
Merge pull request #210 from taylorstine/regexr_comment
Browse files Browse the repository at this point in the history
updated regexr link for updated regex
  • Loading branch information
gfosco committed Feb 3, 2016
2 parents c37db7b + 33f8cdc commit e44106f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExportAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ExportAdapter.prototype.connect = function() {
return this.connectionPromise;
}

//http://regexr.com/3cn6m
//http://regexr.com/3cncm
if (!this.mongoURI.match(/^mongodb:\/\/((.+):(.+)@)?([^:@]+):{0,1}([^:]+)\/(.+?)$/gm)) {
throw new Error("Invalid mongoURI: " + this.mongoURI)
}
Expand Down

0 comments on commit e44106f

Please sign in to comment.