getCursor(); [$index] = $inlineContext->getSubMatches(); $cursor->advanceBy($inlineContext->getFullMatchLength()); $inlineContext->getContainer()->appendChild(new PlaceholderNode((int) $index)); return true; } }