You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.
files download to windows and Some how is my fault , \n turns to \r\n. I just note this issue here
For example :
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '\r\n
[1-79]\d{7,11}|\r\n
8[0-357-9]\d{6,9}\r\n
',
.....
And$numberDesc->getNationalNumberPattern()) . ')$ /', $nationalNumber);
2. PhoneNumberUtil.php
private function isNumberMatchingDesc($nationalNumber, PhoneNumberDesc $numberDesc) {
...
$nationalNumberPatternMatcher = preg_match('/^(' . str_replace(array(PHP_EOL, ' '), '',
return $possibleNumberPatternMatcher && $nationalNumberPatternMatcher;
}
use PHP_EOL to find and replace when PHP_EOL in linux is \n
The text was updated successfully, but these errors were encountered: