Bindings to the re2 regular expression library

Version on this page:0.2
LTS Haskell 12.22:0.2
Stackage Nightly 2018-12-15:0.3
Latest on Hackage:0.3

See all snapshots re2 appears in

MIT licensed by John Millikin
Maintained by Andrey Sverdlichenko

Module documentation for 0.2

There are no documented modules for this package.

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"
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus