Change regex patterns to minimatch globs, add license files