mirror of
https://github.com/ethauvin/rife2.git
synced 2025-07-12 09:03:41 -07:00
Make validation builder filtered tags more permissive in their content
This commit is contained in:
parent
e16e584e2e
commit
ba187f325b
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,9 @@ public interface ValidationBuilder extends Cloneable {
|
|||
String ID_ERRORS_FALLBACK = "errors:";
|
||||
String ID_ERRORS_WILDCARD = "errors:*";
|
||||
|
||||
String TAG_ERRORS = "(?=(?<=^" + PREFIX_ERRORS + ")|\\G(?<!^))\\s*(\\w+)\\s*,?(?=[\\w,]+$|$)";
|
||||
String TAG_ERRORMESSAGE = "(?=(?<=^" + PREFIX_ERRORMESSAGE + ")|\\G(?<!^))\\s*(\\w+)\\s*,?(?=[\\w,]+$|$)";
|
||||
String TAG_MARK = "(?:^" + PREFIX_MARK + "(?:(\\w+):)?|\\G(?<!^))\\s*(\\w+)\\s*,?(?=[\\w,]+$|$)";
|
||||
String TAG_ERRORS = "(?=(?<=^" + PREFIX_ERRORS + ")|\\G(?<!^))\\s*([^,]+)\\s*,?(?=[[^,],]+$|$)";
|
||||
String TAG_ERRORMESSAGE = "(?=(?<=^" + PREFIX_ERRORMESSAGE + ")|\\G(?<!^))\\s*([^,]+)\\s*,?(?=[[^,],]+$|$)";
|
||||
String TAG_MARK = "(?:^" + PREFIX_MARK + "(?:([^:]+):)?|\\G(?<!^))\\s*([^,]+)\\s*,?(?=[[^,],]+$|$)";
|
||||
|
||||
void setFallbackErrorArea(Template template, String message);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue