Cyrillic in Hash Tagging - resolved
dbtech/usertag/includes/class_core.php
line 915
find
replace
test on vB3, vB4 (utf-8, windows-1251) English and Cyrillic.
Probably it will work with any encoding.
dbtech/usertag/includes/class_core.php
line 915
find
Code:
if (preg_match('/[^\w-]/i', $letter) OR in_array($letter, array(';', '', ' ', "\r", "\n", "\t", "\s", ".", ","))) // in_array($letter, array(';', '', ' ', "\r", "\n", "\t", "\s", ".", ","))
Code:
if (preg_match('/[^\w-]/iu', $letter) OR in_array($letter, array(';', '', ' ', "\r", "\n", "\t", "\s", ".", ","))) // in_array($letter, array(';', '', ' ', "\r", "\n", "\t", "\s", ".", ","))
test on vB3, vB4 (utf-8, windows-1251) English and Cyrillic.
Probably it will work with any encoding.
Upvote
0