[pcre-dev] [Bug 2432] Fail with Unicode character scripts wh…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Stare tematy: [pcre-dev] [Bug 2432] New: Fail with Unicode character scripts when JIT is enabled
Temat: [pcre-dev] [Bug 2432] Fail with Unicode character scripts when JIT is enabled
https://bugs.exim.org/show_bug.cgi?id=2432

--- Comment #3 from Zoltan Herczeg <hzmester@???> ---
I don't know much about php, but the following tests should be similar to
yours. I ran pcre2test with jit and utf, and added a greedy + to match multiple
characters.

./pcre2test -jit
PCRE2 version 10.35-RC1 2019-11-27

This one matches to your test string:

re> /[\p{L}\p{Arabic}]+/utf
data> lowerUPPER

0: lowerUPPER

This one matches to nothing:

re> /[^\p{L}\p{Arabic}]+/utf
data> lowerUPPER

No match

This one matches to space:

re> /[^\p{L}\p{Arabic}]+/utf
data> lower UPPER

0:

The results seem valid. I will check 8.34.

--
You are receiving this mail because:
You are on the CC list for the bug.