while 语句使用的正则表达式



<xy:whiles(.+?)>((?:.|[ ])+?)</xy:while>


例子:

<xy:while {$item}<={$total}>
    <span>item</span>
</xy:while>


没有最好,只有更好!