RegExp to find C-style multiline comments in O(n) time

前端 未结 0 980
无人共我
无人共我 2020-12-09 05:15

I\'m trying to find a JS RegExp that finds all C-style multiline comment of the form /\\*[\\s\\S]*?\\*/ in O(n).

Other comment forms are

相关标签:
回答
  • 消灭零回复
提交回复
热议问题