pcre-ocaml
pcre-ocaml copied to clipboard
OCaml bindings to PCRE (Perl Compatibility Regular Expressions)
This is only required to get the META file for `bytes` but given the library is not used in the codebase, no need for it. This decreases the dependency cone.
PCRE (known as PCRE3 in Debian), used by pcre-ocaml, is [obsolete](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000004). Pcre-ocaml should be ported to PCRE2.
I didn't find a function that takes a `Pcre.Error` exception and prints a human-friendly representation. By default, we're getting `Pcre.Error(5)` instead of `Pcre.Error(RecursionLimit)`. The plan would be that the user...
Over at the OCaml discussion forum, someone found what looks like a bug with `full_split`: https://discuss.ocaml.org/t/full-split-in-pcre/12948/1 TL;DR it looks like full_split isn't getting unmatched groups right for delimiters after the...