我将尝试从文件中匹配C风格的注释,但仅在注释不以由
例如,从以下代码中:
@
引入的特定标签开头时才匹配。例如,从以下代码中:
/* some comment to match */
/* another comment.
this should match also */
/*@special shouldn't match*/
是否仅使用正则表达式可以实现这一点?
我正在尝试使用JavaScript实现的正则表达式。