Lines Matching refs:new_comment
3072 my $new_comment = $comment;
3077 $new_comment =~ s/^\((.*)\)$/$1/;
3078 $new_comment =~ s/^\[(.*)\]$/$1/;
3079 $new_comment =~ s/^[\s\#]+|\s+$//g;
3081 $new_comment = trim("$new_comment $cur_name") if ($cur_name ne $new_comment);
3082 $new_comment = " # $new_comment" if ($new_comment ne "");
3083 my $new_email = "$email_address$new_comment";
3092 my $new_comment = $comment;
3096 $new_comment =~ s/^\[(.*)\]$/$1/;
3097 $new_comment =~ s/^\/\*(.*)\*\/$/$1/;
3099 $new_comment = trim($new_comment);
3100 … $new_comment =~ s/^[^\w]$//; # Single lettered comment with non word character is usually a typo
3101 $new_comment = "($new_comment)" if ($new_comment ne "");
3102 my $new_email = format_email($email_name, $name_comment, $email_address, $new_comment);