diff --git a/src/Parser/Common/AnimeCardParser.php b/src/Parser/Common/AnimeCardParser.php index f6c2e39c..0084aaec 100644 --- a/src/Parser/Common/AnimeCardParser.php +++ b/src/Parser/Common/AnimeCardParser.php @@ -148,7 +148,7 @@ public function getType(): ?string } $text = JString::cleanse($text->text()); - preg_match('/^([\w\.]+)/', $text, $matches); + preg_match('/^([a-zA-Z-\.]+)/', $text, $matches); return $matches[1]; }