You are viewing a single comment's thread. Return to all comments →
One-Liner Solution: :P
import re, sys print("\n".join(re.findall(r"//.*|/\*[\S\s]*?\*/", "\n".join([i.strip() for i in sys.stdin]))))
Seems like cookies are disabled on this browser, please enable them to open this website
Building a Smart IDE: Identifying comments
You are viewing a single comment's thread. Return to all comments →
One-Liner Solution: :P