Bugfix
This commit is contained in:
@@ -8,9 +8,6 @@ class MeilisearchPageMarkerListener
|
|||||||
{
|
{
|
||||||
$debug = [];
|
$debug = [];
|
||||||
|
|
||||||
// =====================
|
|
||||||
// EVENT
|
|
||||||
// =====================
|
|
||||||
if (preg_match(
|
if (preg_match(
|
||||||
'#\{[^}]*"@type"\s*:\s*"Event"[^}]*\}#s',
|
'#\{[^}]*"@type"\s*:\s*"Event"[^}]*\}#s',
|
||||||
$buffer,
|
$buffer,
|
||||||
@@ -18,9 +15,9 @@ class MeilisearchPageMarkerListener
|
|||||||
)) {
|
)) {
|
||||||
$debug[] = 'context=event';
|
$debug[] = 'context=event';
|
||||||
|
|
||||||
// ✅ FIXED REGEX
|
// ✅ KORREKT für deinen Buffer
|
||||||
if (preg_match(
|
if (preg_match(
|
||||||
'#/schema/events/(\d+)#',
|
'#\\\/schema\\\/events\\\/(\d+)#',
|
||||||
$eventBlock[0],
|
$eventBlock[0],
|
||||||
$m
|
$m
|
||||||
)) {
|
)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user