mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improved regex for SMTP parsing
This commit is contained in:
parent
50a49eabb5
commit
dead3226a5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function split_mime_email_addresses(line: string): set[string]
|
||||||
{
|
{
|
||||||
local output = string_set();
|
local output = string_set();
|
||||||
|
|
||||||
local addrs = find_all(line, /(\"[^"]*\")?[^,]+/);
|
local addrs = find_all(line, /(\"[^"]*\")?[^,]+@[^,]+/);
|
||||||
for ( part in addrs )
|
for ( part in addrs )
|
||||||
{
|
{
|
||||||
add output[strip(part)];
|
add output[strip(part)];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue