com.silentgo.core.config.Regex Maven / Gradle / Ivy
package com.silentgo.core.config;
/**
* Project : silentgo
* com.silentgo.core.config
*
* @author teddyzhu
*
* Created by teddyzhu on 16/8/18.
*/
public class Regex {
public static final String RoutePath = "\\{(\\w*)(|:\\(.*?\\))\\}";
public static final String RegexAll = ".*?";
public static final String RoutePathCustomMatch = "(%s)";
public static final String RoutePathNameRegexMatch = "(?<%s>%s)";
public static final String RouteSplit = ":";
}