The regex-applicative package

[Tags:library, mit]

regex-applicative is a Haskell library for parsing using regular expressions. Parsers can be built using Applicative interface.


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2, 0.2.1, 0.3, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.3.1, 0.3.2, 0.3.2.1, 0.3.3
Change log CHANGES.md
Dependencies base (>1 && <1), containers (>=0.3 && <0.5) [details]
License MIT
Author Roman Cheplyaka
Maintainer Roman Cheplyaka <roma@ro-che.info>
Stability Unknown
Category Text
Home page https://github.com/feuerbach/regex-applicative
Source repository head: git clone git://github.com/feuerbach/regex-applicative.git
this: git clone git://github.com/feuerbach/regex-applicative.git(tag v0.1.2)
Uploaded Wed Jul 13 06:05:02 UTC 2011 by RomanCheplyaka
Updated Thu Nov 12 05:54:06 UTC 2015 by phadej to revision 1
Distributions Arch:0.3.3, Debian:0.3.3, FreeBSD:0.3.2.1, LTSHaskell:0.3.3, NixOS:0.3.3, Stackage:0.3.3, Tumbleweed:0.3.3
Downloads 4514 total (30 in the last 30 days)
Votes
2 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-24 [all 4 reports]

Modules

  • Text
    • Regex
      • Text.Regex.Applicative
        • Text.Regex.Applicative.Reference

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for regex-applicative

Readme for regex-applicative-0.1.2

regex-applicative

regex-applicative is aimed to be an efficient and easy to use parsing combinator library for Haskell based on regular expressions.

Perl programmers often use regular expressions for parsing, even if it is not an appropriate tool for the job, because Perl has so good support for regexps.

The opposite seems to be valid about Haskell programmers -- they use parsing combinators (which recognize context-free or even context-sensitive grammars), even when the language is actually regular!

Hopefully, this library will improve the situation.

Installation

Install this library using cabal-install tool:

cabal update
cabal install regex-applicative

Documentation

The API reference is available from Hackage

Other resources