[pcre-dev] [Bug 1189] JIT bug with lookbehind assertion.

トップ ページ
このメッセージを削除
著者: admin
日付:  
To: pcre-dev
古いトピック: [pcre-dev] [Bug 1189] New: JIT bug with lookbehind assertion.
題目: [pcre-dev] [Bug 1189] JIT bug with lookbehind assertion.
https://bugs.exim.org/show_bug.cgi?id=1189

--- Comment #5 from Anatol Belski <ab@???> ---
Hi Zoltan,

oh yes, there is a difference in these two. I was too concentrated on checking
a crash that didn't compare. Here it is

php -n -r 'ini_set("pcre.jit", 0); echo preg_replace("/\b(11|21|41)\b/u", "z",
"x°11\n");'
x°z

php -n -r 'ini_set("pcre.jit", 1); echo preg_replace("/\b(11|21|41)\b/u", "z",
"x°11\n");'
x

There is no crash as mentioned, but from the output diff seems that the JIT
version doesn't do it right.

Thanks.

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