mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-02 01:45:29 +00:00
update default getLinks regex
This commit is contained in:
parent
590096afef
commit
0ad8a9e998
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue