|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-01 14:53 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 05:00:02 2025 UTC |
Description: ------------ If regular expresion contains symbols in koi8-r charset, the modifier is ignored. Reproduce code: --------------- $datatext="Привет, это пример к слову 'привет'"; echo preg_replace('/(привет)/i','<b>${1}</b>',$datatext); Expected result: ---------------- Привет, это пример к слову '<b>привет</b>' Actual result: -------------- <b>Привет</b>, это пример к слову '<b>привет</b>