|  | 
 |  | 
 | 
												
													
														| 47 |              
 | 47 |              
 | 
												
													
														| 48 |          } elseif (substr($value, 0, 2)=='JP') {
 | 48 |          } elseif (substr($value, 0, 2)=='JP') {
 | 
												
													
														| 49 |  
 | 49 |  
 | 
												
													
														| 50 | -            $pattern = '/^0?[789](?:\d{8}|\d{9})$/';
 |  | 
 | 
												
													
														|  | 
 | 50 | +            $pattern = '/^0[789]0-\d{4}-\d{4}/';
 | 
												
													
														| 51 |              $string = $this->data['phoneNumber'];
 | 51 |              $string = $this->data['phoneNumber'];
 | 
												
													
														| 52 |              if (!preg_match( $pattern, $string, $matches)) {
 | 52 |              if (!preg_match( $pattern, $string, $matches)) {
 | 
												
													
														| 53 |                  return false;
 | 53 |                  return false;
 | 
												
													
														| 54 |              }
 | 54 |              }
 | 
												
													
														| 55 |          } elseif (substr($value, 0, 2)=='KR') {
 | 55 |          } elseif (substr($value, 0, 2)=='KR') {
 | 
												
													
														| 56 |  
 | 56 |  
 | 
												
													
														| 57 | -            $pattern = '/^01{1}(?:\d{8,9})$/';
 |  | 
 | 
												
													
														|  | 
 | 57 | +            $pattern = '/^01\d{1}-\d{4}-\d{4}/';
 | 
												
													
														| 58 |              $string = $this->data['phoneNumber'];
 | 58 |              $string = $this->data['phoneNumber'];
 | 
												
													
														| 59 |              if (!preg_match( $pattern, $string, $matches)) {
 | 59 |              if (!preg_match( $pattern, $string, $matches)) {
 | 
												
													
														| 60 |                  return false;
 | 60 |                  return false;
 |