Documentation
¶
Overview ¶
Package regexbasedmatcher matches national numbers against the patterns in phone-number metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchNationalNumber ¶
func MatchNationalNumber(number string, numberDesc *metadata.PhoneNumberDesc, allowPrefixMatch bool) bool
MatchNationalNumber reports whether number (a string of decimal digits) matches the national number pattern in numberDesc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.