Is it an email address?
Details
A pragmatic pattern (local @ domain . TLD), not the full RFC 5322
grammar. Rejects spaces and a missing TLD.
Examples
is_email(c("a.b@example.com", "no-at-sign", NA))
#> [1] TRUE FALSE NA
Is it an email address?
A pragmatic pattern (local @ domain . TLD), not the full RFC 5322
grammar. Rejects spaces and a missing TLD.
is_email(c("a.b@example.com", "no-at-sign", NA))
#> [1] TRUE FALSE NA