From 946e2956419c79c623e27ce281a7dfffa7800c24 Mon Sep 17 00:00:00 2001 From: Alpha Leporis Date: Wed, 16 Oct 2024 10:37:40 +0200 Subject: [PATCH] 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 = ".*\\{\\{[^\\}]+\\}\\}.*";