Skip to content
Browse files

tighten up a regex

  • Loading branch information...
1 parent 4441a78 commit 7042ce1ceb3b7f0784f0ac83c023fb8025a3ff2a @smtlaissezfaire smtlaissezfaire committed May 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ndb/commands/next.js
View
2 lib/ndb/commands/next.js
@@ -5,7 +5,7 @@ exports.ndb = ndb;
exports.commandNames = ["n", "next"];
exports.parseCommand = function(text) {
- var match = /^(n|next)(.*)/.exec(text),
+ var match = /^(n|next)(.*)$/.exec(text),
args;
if (match) {

0 comments on commit 7042ce1

Please sign in to comment.
Something went wrong with that request. Please try again.