diff --git a/src/Dokuwiki/Reader.php b/src/Dokuwiki/Reader.php index ee18d94..9239170 100644 --- a/src/Dokuwiki/Reader.php +++ b/src/Dokuwiki/Reader.php @@ -267,7 +267,7 @@ class Reader } } - public function getLinks(string $gemini, ?string $regex = '/[A-z]+:\/\/\S+/'): array + public function getLinks(string $gemini, ?string $regex = '/(https?|gemini):\/\/\S+/'): array { $links = [];