Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e97a7900 authored by Romain Hunault's avatar Romain Hunault
Browse files

Fix regex

parent 1bbe2575
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@
                      LINEAGE => [SIGNED] (ex. signed)
                )
            */
            preg_match_all( '/(cm|lineage|eelo|e)-([0-9\.]+)-\w?-?([\d_]+)?-([\w+]+)-([A-Za-z0-9]+)?-?([\w+]+)?/', $fileName, $tokens );
            preg_match_all( '/(cm|lineage|eelo|e)-([0-9\.]+)-\D?-?([\d_]+)?-([\w+]+)-([A-Za-z0-9]+)?-?([\w+]+)?/', $fileName, $tokens );

            $tokens = $this->removeTrailingDashes( $tokens );