fixed #10610 - added support for PCRE2#8382
fixed #10610 - added support for PCRE2#8382firewave wants to merge 2 commits intocppcheck-opensource:mainfrom
Conversation
engine to rule XML to specify regex engine| @@ -32,7 +32,13 @@ if(HAVE_RULES) | |||
| find_path(PCRE_INCLUDE pcre.h) | |||
There was a problem hiding this comment.
Do you still need pcre.h if you are using pcre2.h ? I'm trying to build with CMake on Debian Trixie, for which libpcre3-dev is not available, and the build still fails because CMake cannot detect pcre.h
There was a problem hiding this comment.
Do you still need pcre.h if you are using pcre2.h ?
No.
This is still WIP. I have not added build options separating PCRE from PCRE2 yet.
|
|
Looking almost good with |
Hence it still being a draft. 🙂 |
|
@firewave do you need any help completing this pull request? I can open pull requests against your branch to complete adding support for PCRE2 and address the issues I have found so far. |
@loqs Thanks, but all the implementation work is done. The main issue is how to proceed with the deprecation/transition steps for PCRE to a new default. I had an idea on how to proceed but since |
So all the following is fixed but not pushed yet?:
Should Arch Linux just disable rules for now in order to be able to drop PCRE1 or will this pull request be merged before a transition to something other than PCRE2? |



No description provided.