diff --git a/tools/mergejs.py b/tools/mergejs.py index 5a8ec42b4e..a0b7566af0 100755 --- a/tools/mergejs.py +++ b/tools/mergejs.py @@ -43,7 +43,7 @@ import sys SUFFIX_JAVASCRIPT = ".js" -RE_REQUIRE = "@requires?:? (.*)\n" # TODO: Ensure in comment? +RE_REQUIRE = "@requires?:?\s+(\S*)\s*\n" # TODO: Ensure in comment? class MissingImport(Exception): """Exception raised when a listed import is not found in the lib."""