grep like filter for lists of strings
The regular expression may be prefixed with the usual context spec "^" for start of string, and "\<" for start of word. and suffixed with "$" for end of text and "\>" end of word. Word chars are defined by the multi char escape sequence "\w"
Examples
grep "a" ["_a_", "_a", "a_", "a", "_"] => ["_a_", "_a", "a_", "a"]
grep "^a" ["_a_", "_a", "a_", "a", "_"] => ["a_", "a"]
grep "a$" ["_a_", "_a", "a_", "a", "_"] => ["_a", "a"]
grep "^a$" ["_a_", "_a", "a_", "a", "_"] => ["a"]
grep "\\<a" ["x a b", " ax ", " xa ", "xab"] => ["x a b", " ax "]
grep "a\\>" ["x a b", " ax ", " xa ", "xab"] => ["x a b", " xa "]