Install this package:
emerge -a dev-haskell/re2
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-haskell/re2
Or alternatively:
emerge --autounmask-write -a dev-haskell/re2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.3 | 8 | ~amd64 | 0/0.3 |
<pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> <longdescription> 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 </longdescription> </pkgmetadata>
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | re2-0.3.tar.gz | 9433 bytes | 0.3 |
| Type | File | Size |
|---|