adapt regex-pattern to match modules without dependencies (this is a problem, if the module is split into several files)