UNPKG
apg-lite
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
lightweight JavaScript APG parser
github.com/ldthomas/apg-lite
ldthomas/apg-lite
apg-lite
/
__tests__
/
phone.txt
10 lines
(9 loc)
•
214 B
Plain Text
View Raw
1
2
3
4
5
6
7
8
9
10
;
; Ref: Wikipedia, North American Numbering Plan
;
phone-number
=
"("
area-code
")"
u_
off
ice
"-"
subscriber
area-code
= gt-
2
not-
9
digit
subscriber
=
4
digit
gt-2
= %d50-
57
not-9
= %d48-
56
digit
= %d48-
57