diff --git a/com.actionsoft.apps.coe.pal.batch/lib/com.actionsoft.apps.coe.pal.batch.jar b/com.actionsoft.apps.coe.pal.batch/lib/com.actionsoft.apps.coe.pal.batch.jar index 794f142a..e85acaed 100644 Binary files a/com.actionsoft.apps.coe.pal.batch/lib/com.actionsoft.apps.coe.pal.batch.jar and b/com.actionsoft.apps.coe.pal.batch/lib/com.actionsoft.apps.coe.pal.batch.jar differ diff --git a/com.actionsoft.apps.coe.pal.batch/src/com/actionsoft/apps/coe/pal/batch/web/create/shape/valid/impl/ValidShapeName.java b/com.actionsoft.apps.coe.pal.batch/src/com/actionsoft/apps/coe/pal/batch/web/create/shape/valid/impl/ValidShapeName.java index a828b678..2ea7fdcc 100644 --- a/com.actionsoft.apps.coe.pal.batch/src/com/actionsoft/apps/coe/pal/batch/web/create/shape/valid/impl/ValidShapeName.java +++ b/com.actionsoft.apps.coe.pal.batch/src/com/actionsoft/apps/coe/pal/batch/web/create/shape/valid/impl/ValidShapeName.java @@ -28,14 +28,15 @@ public class ValidShapeName implements ValidShapeCell { if (value.length() > 128) { msg = "长度不允许超过128"; } else { - String regEx = "[ _`~!@#$%^&*()+=|{}'\":;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?]|\n|\r|\t"; - Pattern p = Pattern.compile(regEx); - Matcher m = p.matcher(value); - if (m.find()) { - msg = "名称不允许包含" + "|'\"。、,+*/%^=\\!&:;~`#<>$" + "等字符"; - } else { - isOk = true; - } + isOk = true; +// String regEx = "[ _`~!@#$%^&*()+=|{}'\":;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?]|\n|\r|\t"; +// Pattern p = Pattern.compile(regEx); +// Matcher m = p.matcher(value); +// if (m.find()) { +// msg = "名称不允许包含" + "|'\"。、,+*/%^=\\!&:;~`#<>$" + "等字符"; +// } else { +// isOk = true; +// } } } result.put("isOk", isOk);