Remi Lespinet <remi.lespi...@ensimag.grenoble-inp.fr> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to