fix: Modify pattern of pt-Br regex by matheusnascgomes · Pull Request #1951 · validatorjs/validator.js

@matheusnascgomes

A brazilian cellphone number can start with "1" after its country code and local code

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

@matheusnascgomes

- A Brazilian cellphone number can start with 1 after its country code and local code
- Fix test case to accept +55 11 91431-4567 and similar ones as valid

Signed-off-by: Matheus Gomes <matheusnascgomes@gmail.com>

@codecov

tux-tn

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matheusnascgomes

Hi @tux-tn ! Any plans on merging this PR?

profnandaa

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.