Fixed URL pattern.
This commit is contained in:
parent
0f26fff93e
commit
c24cea3727
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class PropertyChecker
|
|||
public static final String STRING = "^.+$";
|
||||
public static final String DATETIME = "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?";
|
||||
public static final String DATE = "^(\\d{4}-\\d{2}-\\d{2}|\\d{2}/\\d{2}/\\d{4}|\\d{2}/\\d{4})";
|
||||
public static final String URL = "^(http(s)?://)?\\w+(\\.\\w+)+(/.*)?$";
|
||||
public static final String URL = "^(http(s)?://)?[\\w-_\\.]+(\\.\\w+)+(/.*)?$";
|
||||
public static final String EMAIL = "^.*@.*$";
|
||||
|
||||
private PropertyRules serviceRules;
|
||||
|
|
Loading…
Reference in a new issue