aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-01 12:52:35 +0100
committerLudovic Courtès <ludo@gnu.org>2013-02-01 13:16:45 +0100
commitcb09fb24eef9480188ef6b7c9411cd37bfc3b494 (patch)
tree685428c7fc52a333ba4d93ccae4ecad1e8e7d5df
parent0bdba772ca2167cdd3acaed81ca8667cb78b266c (diff)
downloadguix-cb09fb24eef9480188ef6b7c9411cd37bfc3b494.tar
guix-cb09fb24eef9480188ef6b7c9411cd37bfc3b494.tar.gz
guix-package: Make `--search' queries case-insensitive.
* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for the `search' regexp.
-rw-r--r--guix-package.in2
1 files changed, 1 insertions, 1 deletions
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))