php preg_replace注释块

问题描述

| 模式就像这样
/* comment [comment goes here] */
/* comment please do not delete the lines below */
[I am a special line so I should not be changed ]
/* comment please do not delete the line above */
我想删除注释块,但不是要查找
/**/
,而是要注释为
/* comment [] */
,其中
[]
是实际注释。 这是为了避免任何文本应包含注释。 所以这是评论的条件 始于= >>
/* comment
后跟= >>任何内容 后跟= >>
*/
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)