regex-applicative icon indicating copy to clipboard operation
regex-applicative copied to clipboard

Regex-based parsing with an applicative interface

Results 13 regex-applicative issues
Sort by recently updated
recently updated
newest added

Let the reverse dependencies speak for `witherable`: - https://packdeps.haskellers.com/reverse/filtrable - https://packdeps.haskellers.com/reverse/witherable

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...

pr-welcome

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...

pr-welcome

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,...

pr-welcome

Use O(1) slicing of Text/ByteStrings to produce efficient submatches.

pr-welcome

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...

pr-welcome

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.

pr-welcome

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...

pr-welcome