dogmeat
public text v1 · immutablewhile(chomp($input = <STDIN>)) {
if ($input =~ m/^(\+\ \ \()([1234]\.[0-9])(.*)/) {
print "$1_$2_$3\n";
} else {
print "$input\n";
}
}
while(chomp($input = <STDIN>)) {
if ($input =~ m/^(\+\ \ \()([1234]\.[0-9])(.*)/) {
print "$1_$2_$3\n";
} else {
print "$input\n";
}
}