Browse Source

update default getLinks regex

main
ghost 9 months ago
parent
commit
0ad8a9e998
  1. 2
      src/Dokuwiki/Reader.php

2
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 = []; $links = [];

Loading…
Cancel
Save