1
This commit is contained in:
@@ -12,8 +12,8 @@ import java.util.regex.Pattern;
|
||||
*/
|
||||
public class LineReportParser {
|
||||
|
||||
// 京东链接正则表达式
|
||||
private static final Pattern JD_URL_PATTERN = Pattern.compile("https?://[^\\s]*?jd\\.com[^\\s]*");
|
||||
// 京东链接正则表达式(贪婪匹配,捕获完整URL)
|
||||
private static final Pattern JD_URL_PATTERN = Pattern.compile("https?://[^\\s]*jd\\.com[^\\s]*");
|
||||
|
||||
// SKUID正则表达式(10-13位数字)
|
||||
private static final Pattern SKUID_PATTERN = Pattern.compile("\\b(\\d{10,13})\\b");
|
||||
|
||||
Reference in New Issue
Block a user