V
Viktor Rosenfeld
Hi,
I want to strip a JAVA file of /* */ like comments. Unfortunately, the
simple regexp "\/\*.*\*\/" only works on comments, that are on one line.
Is there a simple way to remove comments that go across several lines with
python regexp's? I tried re.M to no avail.
Thanks,
Viktor
I want to strip a JAVA file of /* */ like comments. Unfortunately, the
simple regexp "\/\*.*\*\/" only works on comments, that are on one line.
Is there a simple way to remove comments that go across several lines with
python regexp's? I tried re.M to no avail.
Thanks,
Viktor