Would there be interest in adding support for libphonenumber's nationalPrefixForParsing, so that e.g. an entered Brazil phone number of 0318522222222 could be parsed as national number 8522222222. At present, the generated stub code will only strip a provided nationalPrefix.
It looks like it might be straightforward to have this use the nationalPrefixForParsing regular expression if present in preference to nationalPrefix, and I could look at doing this if it was something that would be useful.
Would there be interest in adding support for libphonenumber's
nationalPrefixForParsing
, so that e.g. an entered Brazil phone number of0318522222222
could be parsed as national number8522222222
. At present, the generated stub code will only strip a providednationalPrefix
.It looks like it might be straightforward to have this use the
nationalPrefixForParsing
regular expression if present in preference tonationalPrefix
, and I could look at doing this if it was something that would be useful.