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

ru.yandex.clickhouse.util.Patterns Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package ru.yandex.clickhouse.util;

import java.util.regex.Pattern;

/**
 * A collection of usable predefined regular expressions.
 */
public final class Patterns {

    private Patterns() {
    }

    public static final Pattern COMMA       = Pattern.compile(",");

    public static final Pattern COLON       = Pattern.compile(":");

    public static final Pattern SEMICOLON   = Pattern.compile(";");

    public static final Pattern DOT         = Pattern.compile("\\.");

    public static final Pattern HYPHEN      = Pattern.compile("-");

    public static final Pattern SLASH       = Pattern.compile("/");

    public static final Pattern TAB         = Pattern.compile("\t");

    public static final Pattern NEWLINE     = Pattern.compile("\n");

    public static final Pattern SPACE       = Pattern.compile(" ");

    public static final Pattern PIPE        = Pattern.compile("\\|");

    public static final Pattern COMMA_SPACE = Pattern.compile(", ");

    public static final Pattern UNDERSCORE  = Pattern.compile("_");

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy