diff --git a/MonsterRegularExpression_NANPA_formats.cs b/MonsterRegularExpression_NANPA_formats.cs index f70ab25..108a4b3 100644 --- a/MonsterRegularExpression_NANPA_formats.cs +++ b/MonsterRegularExpression_NANPA_formats.cs @@ -14,7 +14,7 @@ class TelephoneFormatDetection { string NANPAFormat = "(^" + - "(?(811|[0-79](11|22|33|44|55|66|66|88|99)))|" + + "(?(811|[0-79](11|22|33|44|55|66|77|88|99)))|" + "(?([2-9]9[0-9])|(37|96)[0-9])" "(?(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|" + "(?(6(00|22)))|" + @@ -27,6 +27,6 @@ class TelephoneFormatDetection "(?(555))-(?(01[0-9]{2}))|(?(1212|4334))|(?(0[2-9]){2}|[1-9][0-9]{2})|(?[2-9][0-9]{1})-(?[0-9]{3})" ")$"; - string oneliner = "(^(?(811|[0-79](11|22|33|44|55|66|66|88|99)))|(?([2-9]9[0-9])|(37|96)[0-9])|(?(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|(?(6(00|22)))|(?(700))|(?(710))|(?8(00|33|44|55|66|77|88))|(?(900))(?([2-9][0-8])[0-9])-(?(555))-(?(01[0-9]{2}))|(?(1212|4334))|(?(0[2-9]){2}|[1-9][0-9]{2})|(?[2-9][0-9]{1})-(?[0-9]{3})")$"; + string oneliner = "(^(?(811|[0-79](11|22|33|44|55|66|77|88|99)))|(?([2-9]9[0-9])|(37|96)[0-9])|(?(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|(?(6(00|22)))|(?(700))|(?(710))|(?8(00|33|44|55|66|77|88))|(?(900))(?([2-9][0-8])[0-9])-(?(555))-(?(01[0-9]{2}))|(?(1212|4334))|(?(0[2-9]){2}|[1-9][0-9]{2})|(?[2-9][0-9]{1})-(?[0-9]{3})")$"; }