Skip to content

Commit ca06c6a

Browse files
authored
Merge pull request #2365 from perfcom/backport-theme-regex-support-dashes
Backport: Update RegExUtil.java to 5.3.1
2 parents d9aff19 + 946e295 commit ca06c6a

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)