1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Merge pull request #3636 from SimSync/fix_3632

Fixes #3632: Lancheck failed on some utf-8 values
This commit is contained in:
Cameron
2019-01-23 14:27:40 -08:00
committed by GitHub

View File

@@ -1922,7 +1922,7 @@ class lancheck
$retloc[$type][$locale[1]]= $locale[2];
}
if(preg_match_all('/^\s*?define\s*?\(\s*?(\'|\")([\w]+)(\'|\")\s*?,\s*?(\'|\")([\s\S]*?)\s*?(\'|\")\s*?\)\s*?;/im',$data,$matches))
if(preg_match_all('/^\s*?define\s*?\(\s*?(\'|\")([\w]+)(\'|\")\s*?,\s*?(\'|\")([\s\S]*?)\s*?(\'|\")\s*?\)\s*?;/imu',$data,$matches))
{
$def = $matches[2];
$values = $matches[5];