~ruther/guix-local

cb09fb24eef9480188ef6b7c9411cd37bfc3b494 — Ludovic Courtès 13 years ago 0bdba77
guix-package: Make `--search' queries case-insensitive.

* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for
  the `search' regexp.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix-package.in
M guix-package.in => guix-package.in +1 -1
@@ 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))