@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

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure