Commit 4f7a1d1c authored by Kevin Robert's avatar Kevin Robert
Browse files

UNOTOPLYS-325 : Evolution de la regex de validation des références.

parent 30d1bc12
......@@ -7,7 +7,7 @@ import com.unantes.orientactive.web.rest.errors.InvalidReferenceException;
public class ValidationUtils {
public static Pattern PATTERN_REFERENCE = Pattern.compile("^[a-zA-Z]+[a-zA-Z0-9_]+$");
public static Pattern PATTERN_REFERENCE = Pattern.compile("^[a-zA-Z]+[a-zA-Z0-9_]*$");
public static String RESERVED_SEPARATOR = "__";
public static void validateReference(final String reference) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment