Matthieu Moy writes
> Remi Lespinet writes:
> > if (defined $sender) {
> > + $sender =~ s/^\s+|\s$//g;
> I would say \s+ also for the second \s. Not really different, but it
> feels wrong to iterate the substitution as many times as there are
> trailing spaces to remove.
Oops should hav
Remi Lespinet writes:
> if (defined $sender) {
> + $sender =~ s/^\s+|\s$//g;
I would say \s+ also for the second \s. Not really different, but it
feels wrong to iterate the substitution as many times as there are
trailing spaces to remove.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Remove leading and trailing whitespaces in from field before
interepreting it to improve consistency with other options. The
split_addrs function already take care of trailing and leading
whitespaces for to, cc and bcc fields.
The from option now:
- has the same behavior when passing arguments l
3 matches
Mail list logo