mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
!36 xml里定义条件组件有空格无法识别,如:b( testChan3 | testChan2 )。增加节点trim处理
xml里定义条件组件有空格无法识别,如:b( testChan3 | testChan2 )。增加节点trim处理
This commit is contained in:
@@ -37,7 +37,7 @@ public class RegexEntity {
|
||||
String[] array = list.get(1).split("\\|");
|
||||
List<RegexNodeEntity> regexNodeEntityList = new ArrayList<>();
|
||||
for (String itemStr : array){
|
||||
regexNodeEntityList.add(RegexNodeEntity.parse(itemStr));
|
||||
regexNodeEntityList.add(RegexNodeEntity.parse(itemStr.trim()));
|
||||
}
|
||||
regexEntity.setRealItemArray(regexNodeEntityList.toArray(new RegexNodeEntity[]{}));
|
||||
}catch (Exception ignored){}
|
||||
|
||||
Reference in New Issue
Block a user