dev-haskell/re2 (haskell)

Search

Package Information

Description:
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
Homepage:
https://github.com/rblaze/haskell-re2#readme
License:
MIT

Versions

Version EAPI Keywords Slot
0.3 8 ~amd64 0/0.3

Metadata

Description

Maintainers

Raw Metadata XML
<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
		&lt;http://code.google.com/p/re2/wiki/Syntax&gt;.
		
		&gt;$ ghci -XOverloadedStrings
		&gt;ghci&gt; import Regex.RE2
		&gt;
		&gt;ghci&gt; find "\\w+" "hello world"
		&gt;Just (Match [Just "hello"])
		&gt;
		&gt;ghci&gt; find "\\w+$" "hello world"
		&gt;Just (Match [Just "world"])
		&gt;
		&gt;ghci&gt; find "^\\w+$" "hello world"
		&gt;Nothing
	</longdescription>
</pkgmetadata>

Lint Warnings

Manifest

Type File Size Versions
DIST re2-0.3.tar.gz 9433 bytes 0.3
Unmatched Entries
Type File Size