From cb09fb24eef9480188ef6b7c9411cd37bfc3b494 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 1 Feb 2013 12:52:35 +0100 Subject: guix-package: Make `--search' queries case-insensitive. * guix-package.in (guix-package)[process-query]: Use `regexp/icase' for the `search' regexp. --- guix-package.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix-package.in') diff --git a/guix-package.in b/guix-package.in index e0c3287b3c..d7b1270255 100644 --- a/guix-package.in +++ b/guix-package.in @@ -596,7 +596,7 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n")) #t)) (('search regexp) - (let ((regexp (and regexp (make-regexp regexp)))) + (let ((regexp (make-regexp regexp regexp/icase))) (for-each (cute package->recutils <> (current-output-port)) (find-packages-by-description regexp)) #t)) -- cgit 1.4.1