cimbalek commented on code in PR #4223:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4223#discussion_r3010220689


##########
jbpm/jbpm-flow/src/main/java/org/jbpm/util/PatternConstants.java:
##########
@@ -22,7 +22,8 @@
 
 public class PatternConstants {
 
-    public static final Pattern PARAMETER_MATCHER = 
Pattern.compile("#\\{([\\S|\\p{javaWhitespace}&&[^\\}]]+)\\}", Pattern.DOTALL);
+    public static final Pattern PARAMETER_MATCHER = 
Pattern.compile("#\\{([^}]+)\\}", Pattern.DOTALL);

Review Comment:
   This change is intentional. Regex does the same thing but is less difficult 
for understanding and less ambiguous.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to