name: re2 version: 0.1 license: MIT license-file: license.txt author: John Millikin maintainer: John Millikin copyright: lib/: John Millikin; third-party/: Google Inc build-type: Simple cabal-version: >= 1.8 category: Regex stability: experimental homepage: https://john-millikin.com/software/haskell-re2/ bug-reports: mailto:jmillikin@gmail.com synopsis: Bindings to the re2 regular expression library 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 . . >$ 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 extra-source-files: cbits/haskell-re2.cc cbits/haskell-re2.h third-party/re2-20140304/util/*.h third-party/re2-20140304/re2/*.h third-party/re2-20140304/AUTHORS third-party/re2-20140304/CONTRIBUTORS third-party/re2-20140304/LICENSE third-party/re2-20140304/README source-repository head type: git location: https://john-millikin.com/code/haskell-re2/ source-repository this type: git location: https://john-millikin.com/code/haskell-re2/ tag: haskell-re2_0.1 library hs-source-dirs: lib ghc-options: -Wall -O2 cc-options: -Wall -O3 -pthread -Wno-sign-compare -DNDEBUG c-sources: cbits/haskell-re2.cc third-party/re2-20140304/util/arena.cc third-party/re2-20140304/util/hash.cc third-party/re2-20140304/util/rune.cc third-party/re2-20140304/util/stringpiece.cc third-party/re2-20140304/util/stringprintf.cc third-party/re2-20140304/util/strutil.cc third-party/re2-20140304/util/valgrind.cc third-party/re2-20140304/re2/bitstate.cc third-party/re2-20140304/re2/compile.cc third-party/re2-20140304/re2/dfa.cc third-party/re2-20140304/re2/filtered_re2.cc third-party/re2-20140304/re2/mimics_pcre.cc third-party/re2-20140304/re2/nfa.cc third-party/re2-20140304/re2/onepass.cc third-party/re2-20140304/re2/parse.cc third-party/re2-20140304/re2/perl_groups.cc third-party/re2-20140304/re2/prefilter.cc third-party/re2-20140304/re2/prefilter_tree.cc third-party/re2-20140304/re2/prog.cc third-party/re2-20140304/re2/re2.cc third-party/re2-20140304/re2/regexp.cc third-party/re2-20140304/re2/set.cc third-party/re2-20140304/re2/simplify.cc third-party/re2-20140304/re2/tostring.cc third-party/re2-20140304/re2/unicode_casefold.cc third-party/re2-20140304/re2/unicode_groups.cc include-dirs: third-party/re2-20140304/ extra-libraries: stdc++ pthread build-depends: -- On most platforms, loading C++ libraries requires GHC 7.8 or later. base >= 4.7 && < 5.0 , bytestring >= 0.10.2 , vector exposed-modules: Regex.RE2 test-suite tests type: exitcode-stdio-1.0 main-is: tests/Tests.hs ghc-options: -Wall -O2 build-depends: re2 , base >= 4.7 && < 5.0 , bytestring , chell >= 0.4 && < 0.5 , vector