Open
Description
Just wondering is PREG_OFFSET_CAPTURE
is needed here
Shortcode/src/Parser/RegularParser.php
Line 338 in 65d8b29
I don't see offset used anywhere in the following code however during tests I found that it uses up memory pretty heavily. If I did my testing right, in one case
preg_match_all()
uses up 80 MB with PREG_OFFSET_CAPTURE
and 23 MB without.Metadata
Metadata
Assignees
Labels
No labels