Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex list #6806

Merged
merged 2 commits into from
May 15, 2020
Merged

Regex list #6806

merged 2 commits into from
May 15, 2020

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented May 15, 2020

cc @hvr @juhp

phadej added 2 commits May 15, 2020 11:43
    % cabal list transformers --installed
    * transformers
        Synopsis: Concrete functor and monad transformers
        Default available version: 0.5.6.2
        Installed versions: 0.5.6.2
        License:  BSD3

    % cabal list transformers --installed -w ghc-8.10.1
    * transformers
        Synopsis: Concrete functor and monad transformers
        Default available version: 0.5.6.2
        Installed versions: 0.5.6.2
        License:  BSD3

    % cabal list transformers --installed -w ghc-7.6.3
    No matches found.

    % cabal list transformers --installed -w ghc-7.8.4
    * transformers
        Synopsis: Concrete functor and monad transformers
        Default available version: 0.5.6.2
        Installed versions: 0.3.0.0
        License:  BSD3
… (regex-posix)

To get exact match you can

    % cabal list ^QuickCheck$ -I
    * QuickCheck
        Synopsis: Automatic testing of Haskell programs
    ...

But not the prefix/suffix/regexp matching is in your power for
searching. e.g.

    % cabal list ^Cabal
    * Cabal
        Synopsis: A framework for packaging Haskell software
    ...
    * cabal-install
        Synopsis: The command-line interface for Cabal and Hackage.
    ...
    and many others
@phadej phadej added this to the 3.4.0.0 milestone May 15, 2020
@phadej phadej merged commit 0c41d67 into haskell:master May 15, 2020
@phadej phadej deleted the regex-list branch May 15, 2020 12:15
@phadej phadej mentioned this pull request Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant