Skip to content

Commit

Permalink
Updating theme regex to support dashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisdeLooze committed Oct 16, 2024
1 parent d9aff19 commit 946e295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/magento/idea/magento2plugin/util/RegExUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static class Magento {
= "[A-Z][a-zA-Z0-9]+_[A-Z][a-zA-Z0-9]+";

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

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

0 comments on commit 946e295

Please sign in to comment.