Control: tag -1 + confirmed

Hi,

Daniel Shahaf wrote:
> Matthew Vernon wrote on Thu, Nov 18, 2021 at 11:49:09 +0000:
> > The newer PCRE2 library was first released in 2015, and has been in
> > Debian since stretch. Upstream's documentation for PCRE2 is available
> > here: https://pcre.org/current/doc/html/

Known, yes.

> Is there a pcre1→pcre2 upgrade guide for library consumers?

I haven't found one when I approached this topic a year or two ago,
when this already popped up in Ubuntu.

> I guess there's more to the upgrade than s/pcre_foo/pcre2_foo/g in
> our code, or they wouldn't have bumped the major version number.

Definitely.

> Is there a summary of the regex syntax differences between pcre1 and
> pcre2?

I'm quite sure that the regexp syntax didn't change. It's still — as
the name says — Perl Compatible Regular Expressions. As far as I
understood it, it's mainly the API to access the library which
changed.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to