aboutsummaryrefslogtreecommitdiff
path: root/src/lib.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.lisp')
-rw-r--r--src/lib.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.lisp b/src/lib.lisp
index 680e93a..f596c84 100644
--- a/src/lib.lisp
+++ b/src/lib.lisp
@@ -176,13 +176,13 @@ the directories that appear in the value of that variable."
(defun collect-positional-arguments (oneliner)
(remove-duplicates
(sort
- (ppcre:all-matches-as-strings "\\$[1-9][0-9]*" oneliner)
+ (ppcre:all-matches-as-strings "#[1-9][0-9]*" oneliner)
#'string<)
:test #'equal))
(defun collect-named-arguments (oneliner)
(remove-duplicates
- (ppcre:all-matches-as-strings "\\$[a-zA-Z_][a-zA-Z0-9_]*" oneliner)
+ (ppcre:all-matches-as-strings "#[A-Z_][A-Z0-9_]*" oneliner)
:test #'equal))
(defun handle-run-oneliner (ol &optional clip)