find_doi.Rd
Helper function to find DOIs in strings. Can occasionally erroneously
extract DOIs (subset of another DOI for example). Regular expression
based on CrossRef (http://bit.ly/doi-regex; see also
check_doi
).
find_doi(strings)
strings | Vector of strings to check for DOIs |
---|
Vector of DOIs
find_doi('This contains 10.1111/j.1365-2044.2012.07128.x')#> [1] "10.1111/j.1365-2044.2012.07128.x"