The re2 package

[ Tags: library, mit, regex ] [ Propose Tags ]

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

$ 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"


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 <>
Maintainer John Millikin <>
Category Regex
Home page
Bug tracker
Source repository head: git clone
this: git clone haskell-re2_0.1)
Uploaded Tue Jun 3 05:06:30 UTC 2014 by JohnMillikin
Distributions NixOS:0.1
Downloads 396 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees