add word boundaries to body tag regexp

This commit is contained in:
Daniel Seifert 2022-05-31 09:00:21 +02:00
parent 40c276889b
commit 2aea43095d
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F

View File

@ -88,7 +88,7 @@ class StageMarker extends Base
*/
protected function getRegexPattern(): string
{
return '/(<\s*body.*?>)/m';
return '/(<\s*\bbody\b.*?>)/m';
}
/**