From e5f7b51f31fee2641d062b469395850a31c7d758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20B=C3=B8rsheim?= Date: Mon, 17 Apr 2023 12:57:00 +0200 Subject: [PATCH] change regex for reading file-ext with numbers in --- src/View/Components/MixBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/Components/MixBase.php b/src/View/Components/MixBase.php index 9ee8152..1e9f1b6 100644 --- a/src/View/Components/MixBase.php +++ b/src/View/Components/MixBase.php @@ -54,7 +54,7 @@ public function __construct($manifestDirectory = '', $integrity = null, $crossor ->keys() ->groupBy(function ($key) { - preg_match('/\.(\D+)$/', $key, $matches); + preg_match('/\.([^\.]+)$/', $key, $matches); return $matches[1]; });