precompile regexp.  allow both include and exclude