mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Fix extract_first_email_addr() to really return the first email
The use of find_all() in extract_email_addrs_vec() extracted occurrences to an intermediate set and thus lost any sense of ordering. This changes extract_email_addrs_vec() to use find_all_ordered() and return all occurrences of email addresses found in the argument, included duplicates, with their order of occurrence preserved.
This commit is contained in:
parent
a852ab4c39
commit
170752fa99
5 changed files with 47 additions and 4 deletions
|
@ -1 +1 @@
|
|||
8cee05d3405d85a4ae8163d1999b78d182b25213
|
||||
c6e8c83cf4d74cde39b57f70a3259cac5a833c1a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue