Extract a list of matching words from another list of words
extractwords(words, patternfile, pattern.type = c("glob", "re"))
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 |
A list of matching words.
Will Lowe