packages feed

pcre-utils-0.1.2: pcre-utils.cabal

-- Initial pcre-utils.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pcre-utils
version:             0.1.2
synopsis:            Perl-like substitute and split for PCRE regexps.
description:         This package introduces split and replace like functions using PCRE regexps.
license:             BSD3
license-file:        LICENSE
author:              Simon Marechal
maintainer:          bartavelle@gmail.com
-- copyright:           
category:            Text
build-type:          Simple
cabal-version:       >=1.8

source-repository head
  type: git
  location: git://github.com/bartavelle/pcre-utils.git


library
  exposed-modules:     Text.Regex.PCRE.ByteString.Utils
  -- other-modules:       
  ghc-options:         -Wall
  ghc-prof-options:    -caf-all -auto-all
  extensions:          OverloadedStrings, BangPatterns
  build-depends:       base >= 4.6 && < 4.8, regex-pcre-builtin == 0.94.4.6.8.34, bytestring, attoparsec, mtl, vector

Test-Suite test-split
    hs-source-dirs: test
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall
    extensions:     OverloadedStrings
    build-depends:  base,pcre-utils,HUnit,bytestring, regex-pcre-builtin
    main-is:        split.hs

Test-Suite test-subs
    hs-source-dirs: test
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall
    extensions:     OverloadedStrings
    build-depends:  base,pcre-utils,HUnit,bytestring, regex-pcre-builtin
    main-is:        subs.hs