1
- Name : regex-tdfa
2
- Version : 1.3.1.0
3
- License : BSD3
4
- License-File : LICENSE
5
- Copyright : Copyright (c) 2007, Christopher Kuklewicz
6
- Author : Christopher Kuklewicz
7
- Maintainer : hvr@gnu.org
8
- Stability : Seems to work, but not POSIX yet
9
- Homepage : https://github.com/haskell-hvr/regex-tdfa
10
- Bug-Reports : https://github.com/haskell-hvr/regex-tdfa/issues
11
- Synopsis : Replaces/Enhances Text.Regex
12
- Description : A new all Haskell "tagged" DFA regex engine, inspired by libtre
13
- Category : Text
14
- Tested-With : GHC== 7.6.3
1
+ cabal-Version : 1.12
2
+ name : regex-tdfa
3
+ version : 1.3.1.0
4
+
5
+ build-Type : Simple
6
+ license : BSD3
7
+ license-file : LICENSE
8
+ copyright : Copyright (c) 2007, Christopher Kuklewicz
9
+ author : Christopher Kuklewicz
10
+ maintainer : hvr@gnu.org
11
+ homepage : https://github.com/hvr/regex-tdfa
12
+ bug-reports : https://github.com/hvr/regex-tdfa/issues
13
+ tested-with : GHC== 7.6.3
15
14
, GHC== 7.8.4
16
15
, GHC== 7.10.3
17
16
, GHC== 8.0.2
18
17
, GHC== 8.2.2
19
18
, GHC== 8.4.4
20
19
, GHC== 8.6.5
21
20
, GHC== 8.8.1
22
- Build-Type : Simple
21
+
22
+ category : Text
23
+ synopsis : Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base)
24
+ description :
25
+ This package provides a pure Haskell \"Tagged\" DFA regex engine (inspired by @libtre@) for <//hackage.haskell.org/package/regex-base regex-base> .
26
+ .
27
+ See also <https://wiki.haskell.org/Regular_expressions> for more information.
28
+
23
29
extra-source-files :
24
30
CHANGELOG.md
25
31
test/cases/*.txt
26
- Cabal-Version : >= 1.8
27
32
28
33
source-repository head
29
34
type : git
30
- location : git ://github.com/haskell- hvr/regex-tdfa.git
35
+ location : https ://github.com/hvr/regex-tdfa.git
31
36
32
37
flag devel
33
- description : enable flags that are useful for development
34
38
default : False
35
39
manual : True
40
+ description :
41
+ Enable flags that are useful for development
36
42
37
43
flag force-O2
38
44
default : True
@@ -44,15 +50,33 @@ flag force-O2
44
50
45
51
library
46
52
hs-source-dirs : lib
47
- Build-Depends : array >= 0.4 && < 0.6
48
- , base >= 4 && < 5
49
- , bytestring >= 0.10 && < 0.11
50
- , containers >= 0.5 && < 0.7
51
- , ghc-prim
52
- , mtl == 2. *
53
- , parsec == 3. *
54
- , regex-base >= 0.94.0 && < 0.95
55
- , text >= 1.2.3 && < 1.3
53
+
54
+ exposed-modules : Data.IntMap.CharMap2
55
+ Data.IntMap.EnumMap2
56
+ Data.IntSet.EnumSet2
57
+ Text.Regex.TDFA
58
+ Text.Regex.TDFA.ByteString
59
+ Text.Regex.TDFA.ByteString.Lazy
60
+ Text.Regex.TDFA.Common
61
+ Text.Regex.TDFA.CorePattern
62
+ Text.Regex.TDFA.IntArrTrieSet
63
+ Text.Regex.TDFA.NewDFA.Engine
64
+ Text.Regex.TDFA.NewDFA.Engine_FA
65
+ Text.Regex.TDFA.NewDFA.Engine_NC
66
+ Text.Regex.TDFA.NewDFA.Engine_NC_FA
67
+ Text.Regex.TDFA.NewDFA.Tester
68
+ Text.Regex.TDFA.NewDFA.Uncons
69
+ Text.Regex.TDFA.NewDFA.MakeTest
70
+ Text.Regex.TDFA.Pattern
71
+ Text.Regex.TDFA.ReadRegex
72
+ Text.Regex.TDFA.Sequence
73
+ Text.Regex.TDFA.String
74
+ Text.Regex.TDFA.TDFA
75
+ Text.Regex.TDFA.TNFA
76
+ Text.Regex.TDFA.Text
77
+ Text.Regex.TDFA.Text.Lazy
78
+
79
+ other-modules : Paths_regex_tdfa
56
80
57
81
-- Support Semigroup instances uniformly
58
82
--
@@ -63,53 +87,76 @@ library
63
87
-- add any new dependency that isn't already incurred by
64
88
-- `regex-tdfa`'s transitive deps
65
89
if !impl(ghc >= 8.0 )
66
- build-depends : fail
67
- , semigroups == 0.18. *
68
-
69
- other-modules : Paths_regex_tdfa
70
- Exposed-Modules : Data.IntMap.CharMap2
71
- Data.IntMap.EnumMap2
72
- Data.IntSet.EnumSet2
73
- Text.Regex.TDFA
74
- Text.Regex.TDFA.ByteString
75
- Text.Regex.TDFA.ByteString.Lazy
76
- Text.Regex.TDFA.Common
77
- Text.Regex.TDFA.CorePattern
78
- Text.Regex.TDFA.IntArrTrieSet
79
- Text.Regex.TDFA.NewDFA.Engine
80
- Text.Regex.TDFA.NewDFA.Engine_FA
81
- Text.Regex.TDFA.NewDFA.Engine_NC
82
- Text.Regex.TDFA.NewDFA.Engine_NC_FA
83
- Text.Regex.TDFA.NewDFA.Tester
84
- Text.Regex.TDFA.NewDFA.Uncons
85
- Text.Regex.TDFA.NewDFA.MakeTest
86
- Text.Regex.TDFA.Pattern
87
- Text.Regex.TDFA.ReadRegex
88
- Text.Regex.TDFA.Sequence
89
- Text.Regex.TDFA.String
90
- Text.Regex.TDFA.TDFA
91
- Text.Regex.TDFA.TNFA
92
- Text.Regex.TDFA.Text
93
- Text.Regex.TDFA.Text.Lazy
94
-
95
- Buildable : True
96
- Extensions : MultiParamTypeClasses, FunctionalDependencies, BangPatterns, MagicHash, RecursiveDo, NoMonoPatBinds, ForeignFunctionInterface, UnboxedTuples, TypeOperators, FlexibleContexts, ExistentialQuantification, UnliftedFFITypes, TypeSynonymInstances, FlexibleInstances
97
- GHC-Options : -Wall -funbox-strict-fields -fspec-constr-count= 10 -fno-warn-orphans
90
+ build-depends : fail == 4.9. *
91
+ , semigroups == 0.18. *
92
+ build-Depends : array >= 0.4 && < 0.6
93
+ , base >= 4.5 && < 5
94
+ , bytestring == 0.10. *
95
+ , containers >= 0.4.2 && < 0.7
96
+ , ghc-prim
97
+ , mtl == 2.2. *
98
+ , parsec == 3.1. *
99
+ , regex-base == 0.94. *
100
+ , text >= 1.2.3 && < 1.3
101
+
102
+ default-language : Haskell2010
103
+ default-extensions : BangPatterns
104
+ ExistentialQuantification
105
+ FlexibleContexts
106
+ FlexibleInstances
107
+ ForeignFunctionInterface
108
+ FunctionalDependencies
109
+ MagicHash
110
+ MultiParamTypeClasses
111
+ NoMonoPatBinds
112
+ NondecreasingIndentation
113
+ RecursiveDo
114
+ TypeOperators
115
+ TypeSynonymInstances
116
+ UnboxedTuples
117
+ UnliftedFFITypes
118
+
119
+ ghc-options : -Wall -funbox-strict-fields -fspec-constr-count= 10 -fno-warn-orphans
120
+
98
121
if flag(force-O2)
99
- ghc-options : -O2
122
+ ghc-options : -O2
100
123
if flag(devel)
101
- ghc-prof-options : -auto-all
124
+ ghc-prof-options : -auto-all
125
+
102
126
103
127
test-suite regex-tdfa-unittest
104
128
type : exitcode-stdio-1.0
105
- build-depends : regex-base >= 0.93.1 , base >= 4 && < 5 , regex-tdfa >= 0.92 , bytestring, containers, array, mtl, file-embed, filepath, utf8-string
129
+
106
130
hs-source-dirs : test
107
131
main-is : Main.hs
108
- extensions : FlexibleInstances, FlexibleContexts,Rank2Types
109
- GHC-Options : -Wall -funbox-strict-fields
110
- if flag(force-O2)
111
- ghc-options : -O2
112
- if flag(devel)
113
- ghc-prof-options : -auto-all
132
+
133
+ -- intra-package dependency
134
+ build-depends : regex-tdfa
135
+
136
+ -- dependencies whose version constraints are inherited via intra-package 'regex-tdfa' dependency
114
137
if !impl(ghc >= 8.0 )
115
138
build-depends : fail
139
+ , semigroups
140
+ build-depends : array
141
+ , base
142
+ , bytestring
143
+ , containers
144
+ , filepath
145
+ , mtl
146
+ , regex-base
147
+
148
+ -- component-specific dependencies not inherited via 'regex-tdfa'
149
+ , file-embed >= 0.0.11 && < 0.1
150
+ , utf8-string >= 1.0.1 && < 1.1
151
+
152
+ default-language : Haskell2010
153
+ default-extensions : FlexibleInstances
154
+ FlexibleContexts
155
+ Rank2Types
156
+
157
+ ghc-options : -Wall -funbox-strict-fields
158
+
159
+ if flag(force-O2)
160
+ ghc-options : -O2
161
+ if flag(devel)
162
+ ghc-prof-options : -auto-all
0 commit comments