All of lore.kernel.org
 help / color / mirror / Atom feed
* [cocci] pcre vs pcre2
@ 2022-07-22 19:23 Richard W.M. Jones
  2022-07-22 19:30 ` Julia Lawall
  2022-07-23  5:38 ` Markus Elfring
  0 siblings, 2 replies; 4+ messages in thread
From: Richard W.M. Jones @ 2022-07-22 19:23 UTC (permalink / raw)
  To: cocci

PCRE (not PCRE2) is end of life: http://www.pcre.org/

and may be removed from Fedora:

  https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/K3BUC6T5VIG7LXOV4RVFO7IUPE2LGA2J/

It seems as if coccinelle has an optional dep on PCRE enabled/disabled
through ./configure --enable-pcre-syntax.  It's not entirely clear to
me what Fedora would lose by disabling this.

Does coccinelle plan to move to PCRE2?

I have moved a few projects over to PCRE2.  It's definitely not an
automatic conversion, although it also wasn't especially difficult.
Here's libguestfs.  This is mostly C and we maintain our own PCRE
bindings for OCaml which are not based on Markus Mottl's bindings, but
it should give you an idea of the changes:

  https://github.com/libguestfs/libguestfs/commit/82493579f38f39769861f31403ccfb8e97b41f96
  https://github.com/libguestfs/libguestfs-common/commit/0b244f2b0cfc920f2432f5df45e108583f0d2901

We decided not to support alternate PCRE or PCRE2 compiles since all
distros have provided PCRE2 for a long time.

Also:

  https://github.com/mmottl/pcre-ocaml/issues/25

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-20 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-22 19:23 [cocci] pcre vs pcre2 Richard W.M. Jones
2022-07-22 19:30 ` Julia Lawall
2022-09-20 13:46   ` Richard W.M. Jones
2022-07-23  5:38 ` Markus Elfring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.