[Improvement][server] varPool support syntax #{setValue(key=value)} (#9586)
parent
996790ce9e
commit
36f01155b5
|
|
@ -318,7 +318,7 @@ public abstract class AbstractCommandExecutor {
|
|||
try (BufferedReader inReader = new BufferedReader(new InputStreamReader(process.getInputStream()))) {
|
||||
String line;
|
||||
while ((line = inReader.readLine()) != null) {
|
||||
if (line.startsWith("${setValue(")) {
|
||||
if (line.startsWith("${setValue(") || line.startsWith("#{setValue(")) {
|
||||
varPool.append(findVarPool(line));
|
||||
varPool.append("$VarPool$");
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class TaskConstants {
|
|||
|
||||
public static final String APPLICATION_REGEX = "application_\\d+_\\d+";
|
||||
|
||||
public static final String SETVALUE_REGEX = "\\$\\{setValue\\(([^)]*)\\)}";
|
||||
public static final String SETVALUE_REGEX = "[\\$#]\\{setValue\\(([^)]*)\\)}";
|
||||
|
||||
/**
|
||||
* string false
|
||||
|
|
|
|||
Loading…
Reference in New Issue