Now the apostrophe is correct

This commit is contained in:
Pinga 2024-10-03 13:44:39 +03:00
parent 1a2d703ea2
commit f655885ac7
2 changed files with 2 additions and 2 deletions

View file

@ -385,7 +385,7 @@ class SystemController extends Controller
$idntable = '/^(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-)(.(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-))*$/i'; $idntable = '/^(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-)(.(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-))*$/i';
break; break;
case 'cyrillic': case 'cyrillic':
$idntable = '/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9\'ѫѣѭ]+$/u'; $idntable = '/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9ʼѫѣѭ]+$/u';
break; break;
case 'japanese': case 'japanese':
$idntable = '/^[ぁ-んァ-ン一-龯々0-9]+$/u'; $idntable = '/^[ぁ-んァ-ン一-龯々0-9]+$/u';

View file

@ -30,7 +30,7 @@
// Mapping of database string values to script names // Mapping of database string values to script names
const dbValueToScriptName = { const dbValueToScriptName = {
'/^(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-)(.(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-))*$/i': 'ASCII', '/^(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-)(.(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-))*$/i': 'ASCII',
'/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9\'ѫѣѭ]+$/u': 'Cyrillic', '/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9ʼѫѣѭ]+$/u': 'Cyrillic',
'/^[ぁ-んァ-ン一-龯々0-9]+$/u': 'Japanese', '/^[ぁ-んァ-ン一-龯々0-9]+$/u': 'Japanese',
'/^[가-힣0-9]+$/u': 'Korean', '/^[가-힣0-9]+$/u': 'Korean',
}; };