regex-applicative
regex-applicative copied to clipboard
Regex-based parsing with an applicative interface
Let the reverse dependencies speak for `witherable`: - https://packdeps.haskellers.com/reverse/filtrable - https://packdeps.haskellers.com/reverse/witherable
```haskell > replace ("x"
Consider the regex `\d{,6}`. I'd like this library to contain a function `replicateAlt` that lets me implement this regex as `replicateAlt 6 digit`. One possible implementation would be a duplicate...
Regular languages are closed under complement, intersection, union and difference (because they're sets) as well as under reversal, it would be great to have those available as they provide much...
I'm making a new form library like formlets, and considering the ability to embed a regex as a validator/parser which would run on the server side with regex-applicative upon submission,...
Use O(1) slicing of Text/ByteStrings to produce efficient submatches.
The `reFoldl` interface is nice when you're happy with its "zero or more" semantics. If that's not cool with you, things get a bit ugly. Perhaps most importantly, "one or...
I couldn't find an example on how I match `[0-9]+[.][0-9][0-9]$` - that is, match something at the end of a line.
It's not clear whether this library is subject to the same exponential blowups as other RE implementations. Adding a note in the README would be very helpful. This seems particularly...