emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/shell-command+ 0e3978a 1/9: Fix shell-command+--command


From: Stefan Monnier
Subject: [elpa] externals/shell-command+ 0e3978a 1/9: Fix shell-command+--command-regexp once again
Date: Wed, 19 May 2021 21:58:02 -0400 (EDT)

branch: externals/shell-command+
commit 0e3978a2351477b6babbe301946e4bfef74fdcd3
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Fix shell-command+--command-regexp once again
---
 shell-command+.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shell-command+.el b/shell-command+.el
index 0e39798..211cfd5 100644
--- a/shell-command+.el
+++ b/shell-command+.el
@@ -92,9 +92,9 @@ handlers if the symbol (eg. `man') is contained in the list."
       ;; allow whitespace after indicator
       (* space)
       ;; actual command (and command name)
-      (group (? (group (+? not-newline))
-                (+ space))
-             (+ not-newline))
+      (group (group (+ (not space)))
+             (* space)
+             (*? not-newline))
       eos)
   "Regular expression to parse `shell-command+' input.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]