[Pkg-javascript-commits] [node-shell-quote] 83/137: ops fixed

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-shell-quote.

commit 2b4e1b1fb63519456c7850d365e1ffe5fa5972b2
Author: James Halliday <mail at substack.net>
Date:   Mon Jun 24 04:49:43 2013 -0700

    ops fixed
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 69bfb9c..3048e0a 100644
--- a/index.js
+++ b/index.js
@@ -46,8 +46,8 @@ exports.parse = function (s, env) {
 
 function parse (s, env) {
     var chunker = new RegExp([
-        '(' + BAREWORD + '|' + SINGLE_QUOTE + '|' + DOUBLE_QUOTE + ')*',
-        '(' + CONTROL + ')' // control chars
+        '(' + CONTROL + ')', // control chars
+        '(' + BAREWORD + '|' + SINGLE_QUOTE + '|' + DOUBLE_QUOTE + ')*'
     ].join('|'), 'g');
     var match = s.match(chunker).filter(Boolean);
     

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-shell-quote.git



More information about the Pkg-javascript-commits mailing list