Hi,
Status update : I've started migrating reverse-dependencies to use the
pure-OCaml re library, which has a (imperfect) compatibility layer.
However, camlp5's upstream has expressed reluctance [1] to this move.
[1] https://github.com/camlp5/camlp5/issues/101#issuecomment-1678163219
> Besides, I'm not sure it makes sense to port pcre-ocaml to pcre2 while
> keeping the same OCaml API, which mimics the PCRE one. Moreover,
> pcre-ocaml is widely used and has many reverse dependencies in Debian:
I don't know how tricky it will be to port pcre-ocaml to pcre2; I know a
number of languages have successfully ported their PCRE bindings to
PCRE2 (e.g. PHP who wrote about it
https://wiki.php.net/rfc/pcre2-migration ). The regex syntax itself
hasn't changed.
Someone did the port of pcre-ocaml to pcre2 [2], which I've packaged as
pcre2-ocaml.
[2] https://github.com/mmottl/pcre-ocaml/issues/25#issuecomment-1483806201
Cheers,
--
Stéphane