separate common regexes to new namespace