Skip to content

Combine wordReList and wordReListMatcher

With the newer C++11 features it is possible to re-use the parent class constructors. It would thus make sense to merge the extra match() functionality of wordReListMatcher into a wordReList. This would also provide a convenient place for other additional functionality such as uniq (eliminate duplicates) or if desired a specialized sort() - eg, sorts words first and patterns after.