Commit 80629b9
committed
chore: enhance re_findall function to handle empty patterns and regex errors
--bug=1062401 --user=刘瑞斌 【知识库】知识库文档分段的时候,如果使用的分段标识是文档中不存在的符号,点击生成预览会报错,希望这个报错提示词可以优化一下,方便识别 https://www.tapd.cn/62980211/s/17820471 parent d380a22 commit 80629b9
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
173 | 180 | | |
174 | 181 | | |
175 | 182 | | |
| |||
0 commit comments