mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-01-27 23:34:15 +00:00
update default getLinks regex
This commit is contained in:
parent
590096afef
commit
0ad8a9e998
@ -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 = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user