From 5289f41dd5d2790ae94297a9652135d856baf277 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 23 Feb 2022 12:56:47 -0600 Subject: changed the variable syntax in the oneliner runner --- src/lib.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3