ropensci / roadoi

Use Unpaywall with R
https://docs.ropensci.org/roadoi
Other
64 stars 3 forks source link

email starting with capital letter rejected #28

Open rkrug opened 4 years ago

rkrug commented 4 years ago

An email starting with a capital letter is rejected, while starting with a small letter is accepted:

> !grepl(roadoi:::email_regex(), "Peter@something.com")
[1] TRUE
> !grepl(roadoi:::email_regex(), "peter@something.com")
[1] FALSE
njahn82 commented 4 years ago

Thanks for reporting this bug @rkrug . Should be fixed now