This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch 1.3.7-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/1.3.7-prepare by this push:
     new ae434c3  [1.3.7-prepare#5313]when shell task raw script has $[${day} - 
1],Argument Exception (#5865)
ae434c3 is described below

commit ae434c346d800aaf97152973a4847ca3bd09f128
Author: Kirs <[email protected]>
AuthorDate: Thu Jul 22 10:23:26 2021 +0800

    [1.3.7-prepare#5313]when shell task raw script has $[${day} - 1],Argument 
Exception (#5865)
    
    pr #5313
---
 .../java/org/apache/dolphinscheduler/common/utils/ParameterUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/ParameterUtils.java
 
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/ParameterUtils.java
index ee27e07..0d20a22 100644
--- 
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/ParameterUtils.java
+++ 
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/ParameterUtils.java
@@ -45,7 +45,7 @@ public class ParameterUtils {
 
     private static final Logger logger = 
LoggerFactory.getLogger(ParameterUtils.class);
 
-    private static final String DATE_PARSE_PATTERN = "\\$\\[([^\\]]+)]";
+    private static final String DATE_PARSE_PATTERN = "\\$\\[([^\\$\\]]+)]";
 
     private static final String DATE_START_PATTERN = "^[0-9]";
 

Reply via email to