Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tighten up a regex

  • Loading branch information...
commit 7042ce1ceb3b7f0784f0ac83c023fb8025a3ff2a 1 parent 4441a78
Scott Taylor smtlaissezfaire authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/ndb/commands/next.js
2  lib/ndb/commands/next.js
@@ -5,7 +5,7 @@ exports.ndb = ndb;
5 5 exports.commandNames = ["n", "next"];
6 6
7 7 exports.parseCommand = function(text) {
8   - var match = /^(n|next)(.*)/.exec(text),
  8 + var match = /^(n|next)(.*)$/.exec(text),
9 9 args;
10 10
11 11 if (match) {

0 comments on commit 7042ce1

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