Regex在不同语言里语法还是有差别的。最简单的:^(.*)\/\*(.*)\*\/(.*)$
所有跟帖:
• ( ) 表示啥? 有些忘了 -simplylove- ♀ (0 bytes) () 09/25/2015 postreply 13:20:46
• grouping -Doggy1- ♂ (77 bytes) () 09/25/2015 postreply 13:29:11
• 对 -simplylove- ♀ (0 bytes) () 09/25/2015 postreply 13:33:38
• 哈哈,是 not 的意思 -simplylove- ♀ (0 bytes) () 09/25/2015 postreply 13:29:39