This month there's a new digit in some Brazilian states phone numbers, so this patch is to solve it to Drupal 7 version of this module (I've sent a similar patch to D6 version #1710980: Brazil new phone number ).
Rerolling the patch with improvements on regex as suggested on issue #1710980: Brazil new phone number
This patch works as desired, why wasn't commited yet?
Someone can help us, please?
This looks good. Leaving for rfsbsb to commit - he's the 1.x maintainer.
The changes made in D7 version are the same of the D6 version available here.
There is only one problem in D7 version: missing a number in the last example of the error message, which it should be '99999-9999 ', as in the D6 version.
Hi @astutonet, thank you for point out the missing error message. I fixed the patch and applied it.
Automatically closed -- issue fixed for 2 weeks with no activity.
Some typo fixing
Drupal is a registered trademark of Dries Buytaert.