The re2 package

[Tags:library, mit, test]

re2 is a regular expression library offering predictable run-time and memory consumption. This package is a binding to re2.

Supported expression syntax is documented at http://code.google.com/p/re2/wiki/Syntax.

$ ghci -XOverloadedStrings
ghci> import Regex.RE2

ghci> find "\\w+" "hello world"
Just (Match [Just "hello"])

ghci> find "\\w+$" "hello world"
Just (Match [Just "world"])

ghci> find "^\\w+$" "hello world"
Nothing

Properties

Versions 0.1
Dependencies base (>=4.7 && <5.0), bytestring (>=0.10.2), vector [details]
License MIT
Copyright lib/: John Millikin; third-party/: Google Inc
Author John Millikin <john@john-millikin.com>
Maintainer John Millikin <john@john-millikin.com>
Stability experimental
Category Regex
Home page https://john-millikin.com/software/haskell-re2/
Bug tracker mailto:jmillikin@gmail.com
Source repository head: git clone https://john-millikin.com/code/haskell-re2/
this: git clone https://john-millikin.com/code/haskell-re2/(tag haskell-re2_0.1)
Uploaded Tue Jun 3 05:06:30 UTC 2014 by JohnMillikin
Distributions NixOS:0.1
Downloads 305 total (7 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees