diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-02-01 12:52:35 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-02-01 13:16:45 +0100 |
commit | cb09fb24eef9480188ef6b7c9411cd37bfc3b494 (patch) | |
tree | 685428c7fc52a333ba4d93ccae4ecad1e8e7d5df /guix-package.in | |
parent | 0bdba772ca2167cdd3acaed81ca8667cb78b266c (diff) | |
download | patches-cb09fb24eef9480188ef6b7c9411cd37bfc3b494.tar patches-cb09fb24eef9480188ef6b7c9411cd37bfc3b494.tar.gz |
guix-package: Make `--search' queries case-insensitive.
* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for
the `search' regexp.
Diffstat (limited to 'guix-package.in')
-rw-r--r-- | guix-package.in | 2 |
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)) |