diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-06 00:05:56 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-06 00:05:56 -0700 |
commit | ad9c18f5045281ddd109c54451f1b4ebfb0d3567 (patch) | |
tree | b0bc9c61a73b1d9a2f76c095b480d3759ba50dc0 /Documentation/howto | |
parent | Cleanup git-send-email.perl:extract_valid_email (diff) | |
download | tgif-ad9c18f5045281ddd109c54451f1b4ebfb0d3567.tar.xz |
send-email: be more lenient and just catch obvious mistakes.
This cleans up the pattern matching subroutine by introducing
two variables to hold regexp to approximately match local-part
and domain in the e-mail address. It is meant to catch obvious
mistakes with a cheap check.
The patch also moves "scalar" to force Email::Valid->address()
to work in !wantarray environment to extract_valid_address;
earlier it was in the caller of the subroutine, which was way
too error prone.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/howto')
0 files changed, 0 insertions, 0 deletions