Cache regex Pattern for PatternValidator

Description

Since PatternValidator will be initialized for every related validation, it would be better for performance to cache java.util.regex.Pattern.

Environment

None

Status

Assignee

Unassigned

Reporter

Sandy Zhong

Labels

None

Feedback Requested

2019/10/03

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Time tracking

1h

Priority

Minor
Configure