|
@@ -222,7 +222,7 @@ public class FaceOcrServiceImpl implements IFaceOcrService {
|
|
|
}
|
|
|
|
|
|
//正则校验设备名称
|
|
|
- String reg_select = "([a-zA-Z0-9_ .,]+)\\(([a-zA-Z0-9]+)[:]+([a-zA-Z0-9]+)\\)";
|
|
|
+ String reg_select = "([a-zA-Z0-9_ ]+)\\(([a-zA-Z0-9]+)[:]+([a-zA-Z0-9]+)\\)";
|
|
|
Pattern pattern = Pattern.compile(reg_select);
|
|
|
Matcher matcher = pattern.matcher(bo.getDeviceName());
|
|
|
if (!matcher.find()){
|