We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f47831 commit 6a030e3Copy full SHA for 6a030e3
src/main/java/de/codescape/jira/plugins/multiplesubtasks/model/Variables.java
@@ -0,0 +1,21 @@
1
+package de.codescape.jira.plugins.multiplesubtasks.model;
2
+
3
+import java.util.regex.Pattern;
4
5
+/**
6
+ * Variables are introduced by an `@` character and their value is surrounded by curly braces.
7
+ */
8
+public class Variables {
9
10
+ /**
11
+ * Pattern to find all variables inside a value.
12
13
+ public final static Pattern FIND_VARIABLES = Pattern.compile("@\\{([^}]+)}");
14
15
16
+ * Pattern to extract all variable values from a value.
17
18
+ // FIXME REMOVE
19
+ public final static Pattern FIND_VALUES = Pattern.compile("(?<=@\\{)([^}]+)(?=})");
20
21
+}
0 commit comments