Extract a list of matching words from another list of words

extractwords(words, patternfile, pattern.type = c("glob", "re"))

Arguments

words

the words against which patters are matched

patternfile

file containing the patters to match, one per line

pattern.type

marks whether the patterns are 'globs' or full regular expressions

Value

A list of matching words.

Author

Will Lowe