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

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 2432] New: Fail with Unicode character scripts when JIT is enabled
Tárgy: [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.