
Extract words from author
author_words.RdExtract words from author
Details
From the string author we extract any words that begin with a capital and is followed by at least two lower case letters or hyphens. Or the special cases DC., Sm. and Br.. In the special cases \\ will be added before . to allow regular expression searching of the authors such as grepl("DC\\.", "Some Author"). We have not included L. since this could be mistaken for an initial of another author rather than Carl Linnaeus.
This function is used when comparing authors in author_check().