mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05: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 = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue