Skip to content

Commit 3a8b981

Browse files
authored
Update RegExUtil.java
Updating theme regex to support dashes.
1 parent 1ff7368 commit 3a8b981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/util/RegExUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static class Magento {
6464
= "[A-Z][a-zA-Z0-9]+_[A-Z][a-zA-Z0-9]+";
6565

6666
public static final String THEME_NAME
67-
= "[a-z]+/[A-Z][a-zA-Z0-9_]+/[a-z][a-zA-Z0-9_]+";
67+
= "[a-z]+/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+";
6868

6969
public static final String MFTF_CURLY_BRACES
7070
= ".*\\{\\{[^\\}]+\\}\\}.*";

0 commit comments

Comments
 (0)