Skip to content

Commit

Permalink
fix: ERC |66|66| to |66|77|
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphHightower authored Jan 31, 2023
1 parent 9f64847 commit be1ee8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MonsterRegularExpression_NANPA_formats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TelephoneFormatDetection
{
string NANPAFormat =
"(^" +
"(?<ERC>(811|[0-79](11|22|33|44|55|66|66|88|99)))|" +
"(?<ERC>(811|[0-79](11|22|33|44|55|66|77|88|99)))|" +
"(?<ReservedAreaCode>([2-9]9[0-9])|(37|96)[0-9])"
"(?<NonGeoSvc>(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|" +
"(?<CASvc>(6(00|22)))|" +
Expand All @@ -27,6 +27,6 @@ class TelephoneFormatDetection
"(?<Triple5Exchg>(555))-(?<EntertainNum>(01[0-9]{2}))|(?<InfoNum>(1212|4334))|(?<AssngNum>(0[2-9]){2}|[1-9][0-9]{2})|(?<Exchange>[2-9][0-9]{1})-(?<Number>[0-9]{3})"
")$";
string oneliner = "(^(?<ERC>(811|[0-79](11|22|33|44|55|66|66|88|99)))|(?<ReservedAreaCode>([2-9]9[0-9])|(37|96)[0-9])|(?<NonGeoSvc>(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|(?<CASvc>(6(00|22)))|(?<InterExch>(700))|(?<USGovt>(710))|(?<TollFree>8(00|33|44|55|66|77|88))|(?<Premium>(900))(?<AreaCode>([2-9][0-8])[0-9])-(?<Triple5Exchg>(555))-(?<EntertainNum>(01[0-9]{2}))|(?<InfoNum>(1212|4334))|(?<AssngNum>(0[2-9]){2}|[1-9][0-9]{2})|(?<Exchange>[2-9][0-9]{1})-(?<Number>[0-9]{3})")$";
string oneliner = "(^(?<ERC>(811|[0-79](11|22|33|44|55|66|77|88|99)))|(?<ReservedAreaCode>([2-9]9[0-9])|(37|96)[0-9])|(?<NonGeoSvc>(5(00|2[1-9][0-9]33|44|55|66|77|88|99)))|(?<CASvc>(6(00|22)))|(?<InterExch>(700))|(?<USGovt>(710))|(?<TollFree>8(00|33|44|55|66|77|88))|(?<Premium>(900))(?<AreaCode>([2-9][0-8])[0-9])-(?<Triple5Exchg>(555))-(?<EntertainNum>(01[0-9]{2}))|(?<InfoNum>(1212|4334))|(?<AssngNum>(0[2-9]){2}|[1-9][0-9]{2})|(?<Exchange>[2-9][0-9]{1})-(?<Number>[0-9]{3})")$";

}

0 comments on commit be1ee8e

Please sign in to comment.