From 3a8b981e863367004453b421ca628ce2d5ec83ea Mon Sep 17 00:00:00 2001 From: Louis de Looze Date: Mon, 14 Oct 2024 09:00:17 +0200 Subject: [PATCH] Update RegExUtil.java Updating theme regex to support dashes. --- src/com/magento/idea/magento2plugin/util/RegExUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/magento/idea/magento2plugin/util/RegExUtil.java b/src/com/magento/idea/magento2plugin/util/RegExUtil.java index 194ca170a..80d0dedfe 100644 --- a/src/com/magento/idea/magento2plugin/util/RegExUtil.java +++ b/src/com/magento/idea/magento2plugin/util/RegExUtil.java @@ -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 = ".*\\{\\{[^\\}]+\\}\\}.*";