Skip to content

Commit

Permalink
Update RegExUtil.java
Browse files Browse the repository at this point in the history
Updating theme regex to support dashes.
  • Loading branch information
LouisdeLooze authored Oct 14, 2024
1 parent 1ff7368 commit 3a8b981
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 3a8b981

Please sign in to comment.