[Jack-Devel] List Achives

Thomas Brand tom at trellis.ch
Fri Feb 22 17:58:50 CET 2019


On Fri, February 22, 2019 17:41, Malik Costet wrote:
> On 2019-02-22 17:27, Thomas Brand wrote:
> <snip />
>
>
>> Mail addresses are obfuscated with the pattern
>> Full Name <_hidden_ at domain-untouched.tld>
>>
>
> <snip/>
>
>
> Not a fan. It still looks like an e-mail address.
> I'd personally find something like "[hidden] at domain-untouched dot
> tld" more aesthetically pleasing.
>
> Commendable initiative, otherwise.
>
Thanks,
yes it could also replace the @ and dots.
This is the new regex:

$ echo "jon.doe at here.aaa.bb" | sed -r
's/\b[A-Za-z0-9._%+-]+@([A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b)/\[hidden\] at
\1/g' | sed 's/\./ dot /g'
[hidden] at here dot aaa dot bb






More information about the Jackaudio mailing list