@CPF and @CPNJ only works with input containing puctuation characters like 134.241.313-00

Description

I'm using @CPF and @CNPJ annotations for validation. In version 5.0.3.Final it works. But in version 5.1.0.Final and after, it isn't working anymore.

A maven project is attached with the broken tests in version 5.1.0.Final.

Environment

Version 5.1.0.Final and after

Status

Assignee

Hardy Ferentschik

Reporter

Renato Herebia

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.1.1.Final
5.1.2.Final
5.1.0.Final

Priority

Major