mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-15 00:56:59 +02:00
Now the apostrophe is correct
This commit is contained in:
parent
1a2d703ea2
commit
f655885ac7
2 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ class SystemController extends Controller
|
|||
$idntable = '/^(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-)(.(?!-)(?!.*--)[A-Z0-9-]{1,63}(?<!-))*$/i';
|
||||
break;
|
||||
case 'cyrillic':
|
||||
$idntable = '/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9\'ѫѣѭ]+$/u';
|
||||
$idntable = '/^[а-яА-ЯґҐєЄіІїЇѝЍћЋљЈ0-9ʼѫѣѭ]+$/u';
|
||||
break;
|
||||
case 'japanese':
|
||||
$idntable = '/^[ぁ-んァ-ン一-龯々0-9]+$/u';
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
// Mapping of database string values to script names
|
||||
const dbValueToScriptName = {
|
||||
'/^(?!-)(?!.*--)[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': 'Korean',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue