class QueryFactory {

    public static <O, A extends CharSequence> StringMatchesRegex<O, A> matchesRegex(Attribute<O, A> attribute, Pattern regexPattern) {
        return new StringMatchesRegex<O, A>(attribute, regexPattern);
    }

      QueryFactory();

}