开发者

PHP regex do not match group

开发者 https://www.devze.com 2023-03-06 02:48 出处:网络
I am creating a wiki engin开发者_如何学编程e. The syntax for images is [Image:filename.jpg caption=\"This is my [[link]].\"] [[link]] is the syntax for a link.

I am creating a wiki engin开发者_如何学编程e. The syntax for images is [Image:filename.jpg caption="This is my [[link]]."] [[link]] is the syntax for a link.

Whenever it parses the file, it parses as [Image:filename.jpg caption="This is my [[link]. The rest is not parsed. I tried the look-behind deal, but it still did not parse correctly. I there a regex where it can only match when there is one lone closing brace, ]?

0

精彩评论

暂无评论...
验证码 换一张
取 消