1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package org.springblade.mdm.commons.contants;
|
| import java.util.regex.Pattern;
|
| public class RegExpConstants {
|
| /**
| * 程序文件名 正则
| */
| public static final Pattern PROGRAM_FILE_PATTERN = Pattern.compile("^([\\u4e00-\\u9fa5\\w\\-]+)-([0-9a-zA-Z]+)-([\\u4e00-\\u9fa5a-zA-Z0-9]+)-(\\d+)-(\\d+)-?([Pp]\\d+)?(\\.[a-zA-Z]+)?$");
|
|
| public static final Pattern PROGRAM_PACKAGE_PATTERN = Pattern.compile("([\\u4e00-\\u9fa5\\w\\-]+)-[0-9a-zA-Z]+-[\\u4e00-\\u9fa5a-zA-Z0-9]+");
| }
|
|