[foreach:regex]
[r_hello]
[/foreach]
上記を一致させようとしています: (とregex
の間の単語) は であり、 と の間のすべてはになります。:
]
$1
[foreach:regex]
[/foreach]
$2
これまでのところ、私はこれを持っています:/\[foreach:(.*)\](.*)\[\/foreach\]/s
しかし、私はこのエラーが発生しています:Notice: Undefined index: regex] [r_hello