function moduleMatcher(moduleName) {
  return new RegExp(`define\\(['"]${moduleName}['"]`);
}
Creates a regex that matches the definition for the specified module name.

@param {String} moduleName
@return {RegExp}