mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
fix macros name
This commit is contained in:
parent
c38cdc841f
commit
9ec48ba944
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class Response
|
||||||
$match = [];
|
$match = [];
|
||||||
|
|
||||||
preg_match(
|
preg_match(
|
||||||
'/(?<status>\d{2})\s(?<meta>.*)\r\n(?<body>.*)/su',
|
'/(?<code>\d{2})\s(?<meta>.*)\r\n(?<body>.*)/su',
|
||||||
$data,
|
$data,
|
||||||
$match
|
$match
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue