我想提取这一行
<p>@include{"portal.shared.blook"}</p>
使用
preg_grep("/(\s*@include.*)/",explode("\n", $Source))
从这个源代码
<html>
<head>
<title>hi</title>
</head>
<body>
<h1>Hi I am layout</h1>
<br>
<p>@include{"portal.shared.blook"}</p>
@require{"portal.shared.footer":"[main]"}
有时代码有空格,我无法处理