Yuri Tan created ISIS-1241:
------------------------------
Summary: Providing better feedback when RegEx validation does not
match pattern
Key: ISIS-1241
URL: https://issues.apache.org/jira/browse/ISIS-1241
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: 1.9.0
Reporter: Yuri Tan
Assignee: Dan Haywood
Priority: Minor
Currently, when using RegEx validation, the error message could be improved.
When the input isn't valid, the following string is shown: "Doesn't match
pattern". But it doesn't tell you to which pattern the value must match.
Therefore I think that adding regexPatternDescription() next to the existing
regexPattern() could be an improvement. This way an incorrect pattern can be
clarified to a human-being by returning the patternDescription.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)