All I would like to do is to remove the entire line which starts with
print FILE map { s/.*\@poseidon$/ /g; $_; } @lines;
* @poseidon ...
Instead of the $, you want to match the remainder of the line there (otherwise it won't match/be substituted), i.e.
print FILE map { s/.*\@poseidon.*/ /g; $_; } @lines; ^^
In reply to Re: Removing @poseidon tags from java code
by almut
in thread Removing @poseidon tags from java code
by onicom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |