1.6.2 version of Crystal is out: https://crystal-lang.org/2022/11/03/1.6.2-released/ Thanks!
1.7.0 version of Crystal is out: https://crystal-lang.org/2023/01/09/1.7.0-released/ Among other things: > Crystal relies on libpcre as engine for executing regular expressions in `Regex`. In 1.7.0 we’re adding support for its successor, libpcre2, but for now it’s opt-in with the compiler flag `-Duse_pcre2`.
*** Bug 876691 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91052710f9301696ff7368529e5a19069ba0e49e commit 91052710f9301696ff7368529e5a19069ba0e49e Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2023-02-12 00:29:06 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2023-02-12 00:47:00 +0000 dev-lang/crystal: bump to 1.7.2 Closes: https://bugs.gentoo.org/889541 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-lang/crystal/Manifest | 2 + dev-lang/crystal/crystal-1.7.2.ebuild | 108 +++++++++++++++++++++ .../files/crystal-1.7.2-extra-spec-flags.patch | 11 +++ 3 files changed, 121 insertions(+)
Please hard-switch to libpcre2 as well.