|
@@ -592,7 +592,7 @@ public final class DocxProcessUtil {
|
|
|
Text text = (Text) rChild;
|
|
|
String tmpText = text.getValue();
|
|
|
if (quesUnit == QuesUnit.QUES_BODY) {
|
|
|
-
|
|
|
+
|
|
|
// 过滤题干标题
|
|
|
if (tmpText.matches("^\\d{1,}\\.[\\s\\S]*")) {
|
|
|
tmpText = tmpText.replaceFirst("\\d{1,}\\.", "");
|
|
@@ -626,7 +626,7 @@ public final class DocxProcessUtil {
|
|
|
} else if (quesUnit == QuesUnit.QUES_ANSWER) {
|
|
|
|
|
|
// 过滤答案标题
|
|
|
- if (index <= 4) {
|
|
|
+ if (index <= 5) {
|
|
|
tmpText = tmpText.replaceFirst("\\[", "").replaceFirst("\\]", "")
|
|
|
.replaceFirst("答案", "").replaceFirst("[:|:]", "");
|
|
|
text.setValue(tmpText);
|