re.compile(r'(/\*.*?\*/)(.*)', re.DOTALL | re.MULTILINE)
/* first comment */
body
/* second comment */
I would like a regex that finds complete and disjoint typescript multiline block comments
re.compile(r'(/\*(:?.*?)\*/)')
/* first comment /* blah blah */ */
Nested comments aren't allowed in js and ts, are they?
"When you use an regex to solve a problem, then you have another problem".
re.compile(r'(/\*(:?.*?)\*/)')