Re: [PATCH] get_maintainer: Add email addresses from .yaml files
From: Sam Ravnborg
Date: Mon Apr 27 2020 - 16:32:16 EST
Hi Andrew.
> The patch assumes that we have
>
> - if ($file_emails) {
> - my @poss_addr = $text =~ m$[A-Za-z_-_\"\' \,\.\+-]*\s*[\,]*\s*[\(\<\{]{0,1}[A-Za-z0-9_\.\+-]+\@[A-Za-z0-9\.-]+\.[A-Za-z0-9]+[\)\>\}]{0,1}$g;
> - push(@file_emails, clean_file_emails(@poss_addr));
> - }
If you look in the original mail it has:
> - my @poss_addr = $text =~ m$[A-Za-zÀ-ÿ
So somehow "À-ÿ" is silently converted to _-_ when the patch is saved or
processed by further tools.
Strange, maybe an encoding thing of the mail?
Sam