proud-dentist-22844
11/07/2023, 12:54 AMname <email@domain>
. Validating email seems like a pretty common thing, but a quick search for email in the pants codebase didn’t turn up anything. Are there any helpful utils I should use? Or is regex the way to go?broad-processor-92400
11/07/2023, 1:34 AMproud-dentist-22844
11/07/2023, 1:38 AMcurved-television-6568
11/07/2023, 2:10 AMbroad-processor-92400
11/07/2023, 2:15 AM@github_username
reference instead of an email (or something).
So, I'd personally lean towards putting the validation in nfpm (if it's not already) and ensuring pants exposes that to users nicely.
This isn't exactly an answer to your original question... but it at least might explain why there doesn't appear to be a helper for it alreadyproud-dentist-22844
11/07/2023, 2:44 AM