mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 05:14:56 +09:00
Fix incorrect recognition of 0507 phone numbers
This commit is contained in:
parent
f8f929137c
commit
a78df8d4fd
2 changed files with 4 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ class Korea
|
|||
{
|
||||
return true;
|
||||
}
|
||||
if (preg_match('/^0(?:303|505)[2-9][0-9]{6,7}$/', $num))
|
||||
if (preg_match('/^0(?:303|50[2-8])[1-9][0-9]{6,7}$/', $num))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue