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, 0.2
Dependencies base (>=4.7 && <5.0), bytestring (>=0.10.2), vector [details]
License MIT
Author John Millikin <>
Maintainer Andrey Sverdlichenko <>
Category Regex
Home page
Source repo head: git clone
Uploaded Tue Jan 9 17:27:23 UTC 2018 by blaze
Distributions LTSHaskell:0.2, NixOS:0.2, Stackage:0.2, openSUSE:0.2
Downloads 575 total (14 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2018-01-09 [all 3 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees