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...
Commit da61eb911d31f1774238343125317a62c50884ee wrapped some code to distinguish between 8.13 and 8.30 (or something in between). Commit efdf4840f1a4d8e26f125fa9c18f2a02944e6897 invalidated that by always defining `PCRE_STUDY_JIT_COMPILE`. Should this be fixed, or should there...