https://bugs.exim.org/show_bug.cgi?id=2644
Bug ID: 2644 Summary: Erroneous whitespace match with JIT only Product: PCRE Version: N/A Hardware: x86-64 OS: Linux Status: NEW Severity: bug Priority: medium Component: Code Assignee: philip.ha...@gmail.com Reporter: cmbecke...@gmx.de CC: pcre-dev@exim.org I'm forwarding this from <https://bugs.php.net/80118>, because it appears to be a PCRE2 issue. Consider the following pattern: [^\p{Han}\p{Z}] This is supposed to match a character, which is not Hangul and not a separator. However, when a space character is given as subject, in JIT mode this is matched. cmb@ELEPHPANT:~/pcre2-10.34$ LD_LIBRARY_PATH=/home/cmb/pcre2-10.34/ bin/pcre2test PCRE2 version 10.34 2019-11-21 re> /[^\p{Hangul}\p{Z}]/ data> \040 No match cmb@ELEPHPANT:~/pcre2-10.34$ LD_LIBRARY_PATH=/home/cmb/pcre2-10.34/ bin/pcre2test -jit PCRE2 version 10.34 2019-11-21 re> /[^\p{Hangul}\p{Z}]/ data> \040 0: This also happens with the current tip of the trunk, but works as expected with PCRE2 10.32 (I have not tested 10.33). -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev