All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xillium.data.validation.pattern Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.xillium.data.validation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;


/**
 * Annotation to indicate a regex pattern
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface pattern {
    public static final String COMMON_CURRENCY = "^[+-]?[0-9]{1,3}(?:,?[0-9]{3})*(?:\\.[0-9]{2})?$";

    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy