support custom regexp for collapse libraries
Merge pull request #2 from wilkerlucio/custom_collapse_libraries_regexp

support custom regexp for collapse libraries