Skip to content

Commit d8318ba

Browse files
author
Vitaliy
authored
Merge pull request #246 from coderimus/fix/fix-magento-version-validation-rule
FIX: adjust Magento version validation RegExp
2 parents 06c1505 + f88e65b commit d8318ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/util/RegExUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class RegExUtil {
2626
= "^(?!\\/)[a-zA-Z0-9\\/]*[^\\/]$";
2727

2828
public static final String MAGENTO_VERSION
29-
= "(\\d+)\\.(\\d+)\\.(\\d+)";
29+
= "(\\d+)\\.(\\d+)\\.(\\d+)[a-zA-Z0-9_\\-]*";
3030

3131
public static class Magento {
3232
public static final String MODULE_NAME

0 commit comments

Comments
 (0)