Instead of running the regex on all module names, we now verify if the module is hidden once we have verified that it matches the module regex. This simplifies considerably the logic.
This commit also replaces the call to module("list") by a more efficient split of the content of the LOADEDMODULES environment variable.
Instead of running the regex on all module names, we now verify if the module is hidden once we have verified that it matches the module regex. This simplifies considerably the logic.
This commit also replaces the call to module("list") by a more efficient split of the content of the LOADEDMODULES environment variable.
Fixes #47