Rosettacode tasks in Perl 6
More
Search
Ctrl + K
Strip comments from a string
Copy
$*IN.slurp.subst(
/ \h* <[ # ; ]> \N* /
,
''
, :g).
print
Previous
Strip block comments
Next
Strip control codes and extended characters from a string
Last updated
11 months ago