Skip to content

Commit 0dc80f5

Browse files
committed
Bump to 1.3.2 and CHANGELOG
1 parent 2647798 commit 0dc80f5

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
For the package version policy (PVP), see http://pvp.haskell.org/faq .
22

3+
### 1.3.2
4+
5+
_2022-07-18, Andreas Abel_
6+
7+
- Export `decodePatternSet` and `decodeCharacterClass` from `Text.Regex.TDFA.Pattern`
8+
([#16](https://github.com/haskell-hvr/regex-tdfa/issues/16))
9+
- Extend and correct docs for `Pattern` module
10+
- Tested with GHC 7.4 - 9.4
11+
312
### 1.3.1.5
413

514
_2022-07-18, Andreas Abel_

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The name "tdfa" stands for Tagged-DFA.
1111
[Declare a dependency](https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-build-depends) on the `regex-tdfa` library in your `.cabal` file:
1212

1313
```
14-
build-depends: regex-tdfa ^>= 1.3.1
14+
build-depends: regex-tdfa ^>= 1.3.2
1515
```
1616

1717
In Haskell modules where you need to use regexes `import` the respective `regex-tdfa` module:

lib/Text/Regex/TDFA.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OS's bugs.
2121
2222
Declare a dependency on the @regex-tdfa@ library in your @.cabal@ file:
2323
24-
> build-depends: regex-tdfa ^>= 1.3.1.1
24+
> build-depends: regex-tdfa ^>= 1.3.2
2525
2626
In Haskell modules where you want to use regexes simply @import@ /this/ module:
2727

lib/Text/Regex/TDFA/Pattern.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ instance Show PatternSetEquivalenceClass where
180180

181181
-- | @decodePatternSet@ cannot handle collating element and treats
182182
-- equivalence classes as just their definition and nothing more.
183+
--
184+
-- @since 1.3.2
183185
decodePatternSet :: PatternSet -> Set Char
184186
decodePatternSet (PatternSet msc mscc _ msec) =
185187
let baseMSC = maybe Set.empty id msc
@@ -190,6 +192,8 @@ decodePatternSet (PatternSet msc mscc _ msec) =
190192
-- | This returns the strictly ascending list of characters
191193
-- represented by @[: :]@ POSIX character classes.
192194
-- Unrecognized class names return an empty string.
195+
--
196+
-- @since 1.3.2
193197
decodeCharacterClass :: PatternSetCharacterClass -> String
194198
decodeCharacterClass (PatternSetCharacterClass s) =
195199
case s of

regex-tdfa.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.12
22
name: regex-tdfa
3-
version: 1.3.1.5
3+
version: 1.3.2
44

55
build-Type: Simple
66
license: BSD3
@@ -46,7 +46,7 @@ source-repository head
4646
source-repository this
4747
type: git
4848
location: https://github.com/haskell-hvr/regex-tdfa.git
49-
tag: v1.3.1.5
49+
tag: v1.3.2
5050

5151
flag force-O2
5252
default: False

0 commit comments

Comments
 (0)