You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Yuri Tan (JIRA)" <ji...@apache.org> on 2015/11/05 18:32:27 UTC
[jira] [Created] (ISIS-1241) Providing better feedback when RegEx
validation does not match pattern
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)