diff --git a/docs/Cask/DSL/Version.html b/docs/Cask/DSL/Version.html index 54dbc763b..2b48c1e75 100644 --- a/docs/Cask/DSL/Version.html +++ b/docs/Cask/DSL/Version.html @@ -167,7 +167,7 @@

-
/(#{DIVIDERS.keys.map { |v| Regexp.quote(v) }.join("|")})/.freeze
+
/(#{DIVIDERS.keys.map { |v| Regexp.quote(v) }.join("|")})/
MAJOR_MINOR_PATCH_REGEX =
@@ -187,7 +187,7 @@

-
/^([^.,:]+)(?:.([^.,:]+)(?:.([^.,:]+))?)?/.freeze
+
/^([^.,:]+)(?:.([^.,:]+)(?:.([^.,:]+))?)?/
INVALID_CHARACTERS =
@@ -207,7 +207,7 @@

-
/[^0-9a-zA-Z.,:\-_+ ]/.freeze
+
/[^0-9a-zA-Z.,:\-_+ ]/
diff --git a/docs/Commands.html b/docs/Commands.html index a566273ad..d872bd30b 100644 --- a/docs/Commands.html +++ b/docs/Commands.html @@ -208,7 +208,7 @@

-
/\.(?>\s|$)/.freeze
+
/\.(?>\s|$)/
diff --git a/docs/Formulary.html b/docs/Formulary.html index 13946f60c..a42c8e8f2 100644 --- a/docs/Formulary.html +++ b/docs/Formulary.html @@ -141,7 +141,7 @@

-
%r{(https?|ftp|file)://}.freeze
+
%r{(https?|ftp|file)://}
API_SUPPORTED_REQUIREMENTS =
diff --git a/docs/GitHub.html b/docs/GitHub.html index 27e161e5b..8fdedd32d 100644 --- a/docs/GitHub.html +++ b/docs/GitHub.html @@ -162,7 +162,7 @@

GITHUB_PERSONAL_ACCESS_TOKEN_REGEX =
-
/^(?:[a-f0-9]{40}|gh[po]_\w{36,251})$/.freeze
+
/^(?:[a-f0-9]{40}|gh[po]_\w{36,251})$/
@@ -4195,9 +4195,9 @@

# File 'utils/github.rb', line 511
 
 def self.pull_request_title_regex(name, version = nil)
-  return /(^|\s)#{Regexp.quote(name)}(:|,|\s|$)/i.freeze if version.blank?
+  return /(^|\s)#{Regexp.quote(name)}(:|,|\s|$)/i if version.blank?
 
-  /(^|\s)#{Regexp.quote(name)}(:|,|\s)(.*\s)?#{Regexp.quote(version)}(:|,|\s|$)/i.freeze
+  /(^|\s)#{Regexp.quote(name)}(:|,|\s)(.*\s)?#{Regexp.quote(version)}(:|,|\s|$)/i
 end
diff --git a/docs/GitHubPackages.html b/docs/GitHubPackages.html index 96a2a9962..13daa82a0 100644 --- a/docs/GitHubPackages.html +++ b/docs/GitHubPackages.html @@ -166,7 +166,7 @@

-
%r{(?:#{Regexp.escape(URL_PREFIX)}|#{Regexp.escape(DOCKER_PREFIX)})([\w-]+)/([\w-]+)}.freeze
+
%r{(?:#{Regexp.escape(URL_PREFIX)}|#{Regexp.escape(DOCKER_PREFIX)})([\w-]+)/([\w-]+)}
VALID_OCI_TAG_REGEX =
@@ -187,7 +187,7 @@

-
/^[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}$/.freeze
+
/^[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}$/
INVALID_OCI_TAG_CHARS_REGEX =
@@ -207,7 +207,7 @@

-
/[^a-zA-Z0-9._-]/.freeze
+
/[^a-zA-Z0-9._-]/
TAB_ARCH_TO_PLATFORM_ARCHITECTURE =
diff --git a/docs/GitHubReleases.html b/docs/GitHubReleases.html index 5fb585453..7e17db796 100644 --- a/docs/GitHubReleases.html +++ b/docs/GitHubReleases.html @@ -146,7 +146,7 @@

-
%r{https://github\.com/([\w-]+)/([\w-]+)?/releases/download/(.+)}.freeze
+
%r{https://github\.com/([\w-]+)/([\w-]+)?/releases/download/(.+)}
diff --git a/docs/Homebrew.html b/docs/Homebrew.html index 5a526f2c5..9e3ab10cc 100644 --- a/docs/Homebrew.html +++ b/docs/Homebrew.html @@ -236,7 +236,7 @@

BOTTLE_BLOCK_REGEX =
-
/  bottle (?:do.+?end|:[a-z]+)\n\n/m.freeze
+
/  bottle (?:do.+?end|:[a-z]+)\n\n/m
PRIMARY_REPOS = diff --git a/docs/Homebrew/Livecheck/Strategy.html b/docs/Homebrew/Livecheck/Strategy.html index 89ef58151..0d802a356 100644 --- a/docs/Homebrew/Livecheck/Strategy.html +++ b/docs/Homebrew/Livecheck/Strategy.html @@ -364,7 +364,7 @@

(?:ar(?:\.(?:bz2|gz|lz|lzma|lzo|xz|Z|zst))?| b2|bz2?|z2|az|gz|lz|lzma|xz|Z|aZ|zst) $ -/ix.freeze +/ix
INVALID_BLOCK_RETURN_VALUE_MSG =
diff --git a/docs/Homebrew/Livecheck/Strategy/Apache.html b/docs/Homebrew/Livecheck/Strategy/Apache.html index 4291f3ba5..25dc04fb4 100644 --- a/docs/Homebrew/Livecheck/Strategy/Apache.html +++ b/docs/Homebrew/Livecheck/Strategy/Apache.html @@ -161,7 +161,7 @@

(?<prefix>[^/]*?) # Any text in filename or directory before version v?\d+(?:\.\d+)+ # The numeric version (?<suffix>/|[^/]*) # Any text in filename or directory after version -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Bitbucket.html b/docs/Homebrew/Livecheck/Strategy/Bitbucket.html index cdfadc816..c54ed3784 100644 --- a/docs/Homebrew/Livecheck/Strategy/Bitbucket.html +++ b/docs/Homebrew/Livecheck/Strategy/Bitbucket.html @@ -160,7 +160,7 @@

/(?<prefix>(?:[^/]+?[_-])?) # Filename text before the version v?\d+(?:\.\d+)+ # The numeric version (?<suffix>[^/]+) # Filename text after the version -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Cpan.html b/docs/Homebrew/Livecheck/Strategy/Cpan.html index 26dfbe964..fe049f620 100644 --- a/docs/Homebrew/Livecheck/Strategy/Cpan.html +++ b/docs/Homebrew/Livecheck/Strategy/Cpan.html @@ -164,7 +164,7 @@

(?<prefix>[^/]+) # Filename text before the version -v?\d+(?:\.\d+)* # The numeric version (?<suffix>[^/]+) # Filename text after the version -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/ElectronBuilder.html b/docs/Homebrew/Livecheck/Strategy/ElectronBuilder.html index b0a4142b7..371f110e9 100644 --- a/docs/Homebrew/Livecheck/Strategy/ElectronBuilder.html +++ b/docs/Homebrew/Livecheck/Strategy/ElectronBuilder.html @@ -186,7 +186,7 @@

-
%r{^https?://.+/[^/]+\.ya?ml(?:\?[^/?]+)?$}i.freeze
+
%r{^https?://.+/[^/]+\.ya?ml(?:\?[^/?]+)?$}i
diff --git a/docs/Homebrew/Livecheck/Strategy/ExtractPlist.html b/docs/Homebrew/Livecheck/Strategy/ExtractPlist.html index 046056b82..ecc5d0f92 100644 --- a/docs/Homebrew/Livecheck/Strategy/ExtractPlist.html +++ b/docs/Homebrew/Livecheck/Strategy/ExtractPlist.html @@ -180,7 +180,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
diff --git a/docs/Homebrew/Livecheck/Strategy/Git.html b/docs/Homebrew/Livecheck/Strategy/Git.html index 7b9c40d9c..3a4fd8f2c 100644 --- a/docs/Homebrew/Livecheck/Strategy/Git.html +++ b/docs/Homebrew/Livecheck/Strategy/Git.html @@ -162,7 +162,7 @@

-
/\D*(.+)/.freeze
+
/\D*(.+)/
diff --git a/docs/Homebrew/Livecheck/Strategy/GithubReleases.html b/docs/Homebrew/Livecheck/Strategy/GithubReleases.html index 63f11469c..52681d968 100644 --- a/docs/Homebrew/Livecheck/Strategy/GithubReleases.html +++ b/docs/Homebrew/Livecheck/Strategy/GithubReleases.html @@ -190,7 +190,7 @@

^https?://github\.com /(?:downloads/)?(?<username>[^/]+) # The GitHub username /(?<repository>[^/]+) # The GitHub repository name -}ix.freeze +}ix
DEFAULT_REGEX =
@@ -206,7 +206,7 @@

-
/v?(\d+(?:\.\d+)+)/i.freeze
+
/v?(\d+(?:\.\d+)+)/i
VERSION_KEYS =
diff --git a/docs/Homebrew/Livecheck/Strategy/Gnome.html b/docs/Homebrew/Livecheck/Strategy/Gnome.html index 781c2240c..38eaf48d6 100644 --- a/docs/Homebrew/Livecheck/Strategy/Gnome.html +++ b/docs/Homebrew/Livecheck/Strategy/Gnome.html @@ -169,7 +169,7 @@

^https?://download\.gnome\.org /sources /(?<package_name>[^/]+)/ # The GNOME package name -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Gnu.html b/docs/Homebrew/Livecheck/Strategy/Gnu.html index 506569176..db1d34f0f 100644 --- a/docs/Homebrew/Livecheck/Strategy/Gnu.html +++ b/docs/Homebrew/Livecheck/Strategy/Gnu.html @@ -181,7 +181,7 @@

^https?:// (?:(?:[^/]+?\.)*gnu\.org/(?:gnu|software)/(?<project_name>[^/]+)/ |(?<project_name>[^/]+)\.gnu\.org/?$) -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Hackage.html b/docs/Homebrew/Livecheck/Strategy/Hackage.html index 7737e2278..8eca5f26c 100644 --- a/docs/Homebrew/Livecheck/Strategy/Hackage.html +++ b/docs/Homebrew/Livecheck/Strategy/Hackage.html @@ -143,7 +143,7 @@

-
/(?<package_name>.+?)-\d+/i.freeze
+
/(?<package_name>.+?)-\d+/i
FILENAME_REGEX =
@@ -158,7 +158,7 @@

-
/^#{PACKAGE_NAME_REGEX.source.strip}/i.freeze
+
/^#{PACKAGE_NAME_REGEX.source.strip}/i
URL_MATCH_REGEX =
@@ -177,7 +177,7 @@

^https?://(?:downloads|hackage)\.haskell\.org (?:/[^/]+)+ # Path before the filename #{PACKAGE_NAME_REGEX.source.strip} -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/HeaderMatch.html b/docs/Homebrew/Livecheck/Strategy/HeaderMatch.html index 5b2e3a5f9..cbbc2cb19 100644 --- a/docs/Homebrew/Livecheck/Strategy/HeaderMatch.html +++ b/docs/Homebrew/Livecheck/Strategy/HeaderMatch.html @@ -186,7 +186,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
DEFAULT_HEADERS_TO_CHECK =
diff --git a/docs/Homebrew/Livecheck/Strategy/Json.html b/docs/Homebrew/Livecheck/Strategy/Json.html index 010345e98..c2e526473 100644 --- a/docs/Homebrew/Livecheck/Strategy/Json.html +++ b/docs/Homebrew/Livecheck/Strategy/Json.html @@ -178,7 +178,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
diff --git a/docs/Homebrew/Livecheck/Strategy/Launchpad.html b/docs/Homebrew/Livecheck/Strategy/Launchpad.html index 755e69656..cc65682cc 100644 --- a/docs/Homebrew/Livecheck/Strategy/Launchpad.html +++ b/docs/Homebrew/Livecheck/Strategy/Launchpad.html @@ -151,7 +151,7 @@

%r{
   ^https?://(?:[^/]+?\.)*launchpad\.net
   /(?<project_name>[^/]+) # The Launchpad project name
-}ix.freeze
+}ix
DEFAULT_REGEX =
@@ -167,7 +167,7 @@

-
%r{class="[^"]*version[^"]*"[^>]*>\s*Latest version is (.+)\s*</}.freeze
+
%r{class="[^"]*version[^"]*"[^>]*>\s*Latest version is (.+)\s*</}
diff --git a/docs/Homebrew/Livecheck/Strategy/Npm.html b/docs/Homebrew/Livecheck/Strategy/Npm.html index fa1d3d125..f42a91da1 100644 --- a/docs/Homebrew/Livecheck/Strategy/Npm.html +++ b/docs/Homebrew/Livecheck/Strategy/Npm.html @@ -160,7 +160,7 @@

%r{
   ^https?://registry\.npmjs\.org
   /(?<package_name>.+?)/-/ # The npm package name
-}ix.freeze
+}ix diff --git a/docs/Homebrew/Livecheck/Strategy/PageMatch.html b/docs/Homebrew/Livecheck/Strategy/PageMatch.html index 37fc067f4..af68de835 100644 --- a/docs/Homebrew/Livecheck/Strategy/PageMatch.html +++ b/docs/Homebrew/Livecheck/Strategy/PageMatch.html @@ -171,7 +171,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
diff --git a/docs/Homebrew/Livecheck/Strategy/Pypi.html b/docs/Homebrew/Livecheck/Strategy/Pypi.html index 250663f87..e46fe333a 100644 --- a/docs/Homebrew/Livecheck/Strategy/Pypi.html +++ b/docs/Homebrew/Livecheck/Strategy/Pypi.html @@ -162,7 +162,7 @@

(?<package_name>.+)- # The package name followed by a hyphen .*? # The version string (?<suffix>\.tar\.[a-z0-9]+|\.[a-z0-9]+)$ # Filename extension -/ix.freeze +/ix
URL_MATCH_REGEX =
@@ -182,7 +182,7 @@

/packages (?:/[^/]+)+ # The hexadecimal paths before the filename /#{FILENAME_REGEX.source.strip} # The filename -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Sourceforge.html b/docs/Homebrew/Livecheck/Strategy/Sourceforge.html index 9beeda3ad..0a0bc526c 100644 --- a/docs/Homebrew/Livecheck/Strategy/Sourceforge.html +++ b/docs/Homebrew/Livecheck/Strategy/Sourceforge.html @@ -176,7 +176,7 @@

(?:/projects?/(?<project_name>[^/]+)/ |/p/(?<project_name>[^/]+)/ |(?::/cvsroot)?/(?<project_name>[^/]+)) -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Sparkle.html b/docs/Homebrew/Livecheck/Strategy/Sparkle.html index 1a54e2d96..a04e46f52 100644 --- a/docs/Homebrew/Livecheck/Strategy/Sparkle.html +++ b/docs/Homebrew/Livecheck/Strategy/Sparkle.html @@ -176,7 +176,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
APPCAST_MACOS_STRINGS =
diff --git a/docs/Homebrew/Livecheck/Strategy/Xml.html b/docs/Homebrew/Livecheck/Strategy/Xml.html index 5b11d95b3..52c01fb73 100644 --- a/docs/Homebrew/Livecheck/Strategy/Xml.html +++ b/docs/Homebrew/Livecheck/Strategy/Xml.html @@ -182,7 +182,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
diff --git a/docs/Homebrew/Livecheck/Strategy/Xorg.html b/docs/Homebrew/Livecheck/Strategy/Xorg.html index 103955347..0742b5310 100644 --- a/docs/Homebrew/Livecheck/Strategy/Xorg.html +++ b/docs/Homebrew/Livecheck/Strategy/Xorg.html @@ -181,7 +181,7 @@

-
/(?<module_name>.+)-\d+/i.freeze
+
/(?<module_name>.+)-\d+/i
FILENAME_REGEX =
@@ -196,7 +196,7 @@

-
/^#{MODULE_REGEX.source.strip}/i.freeze
+
/^#{MODULE_REGEX.source.strip}/i
URL_MATCH_REGEX =
@@ -215,7 +215,7 @@

^https?://(?:[^/]+?\.)* # Scheme and any leading subdomains (?:x\.org/(?:[^/]+/)*individual/(?:[^/]+/)*#{MODULE_REGEX.source.strip} |freedesktop\.org/(?:archive|dist|software)/(?:[^/]+/)*#{MODULE_REGEX.source.strip}) -}ix.freeze +}ix diff --git a/docs/Homebrew/Livecheck/Strategy/Yaml.html b/docs/Homebrew/Livecheck/Strategy/Yaml.html index 462f167eb..f20a18da4 100644 --- a/docs/Homebrew/Livecheck/Strategy/Yaml.html +++ b/docs/Homebrew/Livecheck/Strategy/Yaml.html @@ -178,7 +178,7 @@

-
%r{^https?://}i.freeze
+
%r{^https?://}i
diff --git a/docs/Homebrew/Service.html b/docs/Homebrew/Service.html index 20216d1ee..e1d4dcdc5 100644 --- a/docs/Homebrew/Service.html +++ b/docs/Homebrew/Service.html @@ -173,7 +173,7 @@

SOCKET_STRING_REGEX =
-
%r{^([a-z]+)://(.+):([0-9]+)$}i.freeze
+
%r{^([a-z]+)://(.+):([0-9]+)$}i
diff --git a/docs/Keg.html b/docs/Keg.html index 4326b24eb..5f37c623b 100644 --- a/docs/Keg.html +++ b/docs/Keg.html @@ -254,7 +254,7 @@

VARIABLE_REFERENCE_RX =
-
/^@(loader_|executable_|r)path/.freeze
+
/^@(loader_|executable_|r)path/
FRAMEWORK_RX =
@@ -270,7 +270,7 @@

-
%r{(?:^|/)(([^/]+)\.framework/(?:Versions/[^/]+/)?\2)$}.freeze
+
%r{(?:^|/)(([^/]+)\.framework/(?:Versions/[^/]+/)?\2)$}
LOCALEDIR_RX =
@@ -290,7 +290,7 @@

-
%r{(locale|man)/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?}.freeze
+
%r{(locale|man)/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?}
INFOFILE_RX =
@@ -310,7 +310,7 @@

-
%r{info/([^.].*?\.info|dir)$}.freeze
+
%r{info/([^.].*?\.info|dir)$}
SHARE_PATHS =
@@ -444,7 +444,7 @@

JAVA_REGEX =
-
%r{#{HOMEBREW_PREFIX}/opt/openjdk(@\d+(\.\d+)*)?/libexec(/openjdk\.jdk/Contents/Home)?}.freeze
+
%r{#{HOMEBREW_PREFIX}/opt/openjdk(@\d+(\.\d+)*)?/libexec(/openjdk\.jdk/Contents/Home)?}
diff --git a/docs/Keg/Relocation.html b/docs/Keg/Relocation.html index 6e5fd7197..d918dc2dd 100644 --- a/docs/Keg/Relocation.html +++ b/docs/Keg/Relocation.html @@ -111,7 +111,7 @@

RELOCATABLE_PATH_REGEX_PREFIX =
-
/(?:(?<=-F|-I|-L|-isystem)|(?<![a-zA-Z0-9]))/.freeze
+
/(?:(?<=-F|-I|-L|-isystem)|(?<![a-zA-Z0-9]))/
diff --git a/docs/Language/Node/Shebang.html b/docs/Language/Node/Shebang.html index 85c5a8cba..bfb45b7da 100644 --- a/docs/Language/Node/Shebang.html +++ b/docs/Language/Node/Shebang.html @@ -115,7 +115,7 @@

-
%r{^#! ?/usr/bin/(?:env )?node( |$)}.freeze
+
%r{^#! ?/usr/bin/(?:env )?node( |$)}
NODE_SHEBANG_MAX_LENGTH =
diff --git a/docs/Language/Perl/Shebang.html b/docs/Language/Perl/Shebang.html index ad252554c..17e86e9e5 100644 --- a/docs/Language/Perl/Shebang.html +++ b/docs/Language/Perl/Shebang.html @@ -115,7 +115,7 @@

-
%r{^#! ?/usr/bin/(?:env )?perl( |$)}.freeze
+
%r{^#! ?/usr/bin/(?:env )?perl( |$)}
PERL_SHEBANG_MAX_LENGTH =
diff --git a/docs/Language/Python/Shebang.html b/docs/Language/Python/Shebang.html index a56fa9b02..7967ca07b 100644 --- a/docs/Language/Python/Shebang.html +++ b/docs/Language/Python/Shebang.html @@ -115,7 +115,7 @@

-
%r{^#! ?/usr/bin/(?:env )?python(?:[23](?:\.\d{1,2})?)?( |$)}.freeze
+
%r{^#! ?/usr/bin/(?:env )?python(?:[23](?:\.\d{1,2})?)?( |$)}
PYTHON_SHEBANG_MAX_LENGTH =
diff --git a/docs/OS/Mac/SDK.html b/docs/OS/Mac/SDK.html index 1d7daf31d..8f3a1dc25 100644 --- a/docs/OS/Mac/SDK.html +++ b/docs/OS/Mac/SDK.html @@ -141,7 +141,7 @@

-
/MacOSX(10\.\d+|\d+)\.sdk$/.freeze
+
/MacOSX(10\.\d+|\d+)\.sdk$/
diff --git a/docs/RuboCop/Cop/FormulaAudit/LivecheckRegexExtension.html b/docs/RuboCop/Cop/FormulaAudit/LivecheckRegexExtension.html index 98dc4fe07..1d5395d8a 100644 --- a/docs/RuboCop/Cop/FormulaAudit/LivecheckRegexExtension.html +++ b/docs/RuboCop/Cop/FormulaAudit/LivecheckRegexExtension.html @@ -151,7 +151,7 @@

-
/\\?\.t(ar|(g|l|x)z$|[bz2]{2,4}$)(\\?\.((g|l|x)z)|[bz2]{2,4}|Z)?$/i.freeze
+
/\\?\.t(ar|(g|l|x)z$|[bz2]{2,4}$)(\\?\.((g|l|x)z)|[bz2]{2,4}|Z)?$/i
diff --git a/docs/String.html b/docs/String.html index 35160c416..3db736bfb 100644 --- a/docs/String.html +++ b/docs/String.html @@ -117,7 +117,7 @@

BLANK_RE =
-
/\A[[:space:]]*\z/.freeze
+
/\A[[:space:]]*\z/
ENCODED_BLANKS_ = diff --git a/docs/Utils/Shell.html b/docs/Utils/Shell.html index 05bb61050..838df21d2 100644 --- a/docs/Utils/Shell.html +++ b/docs/Utils/Shell.html @@ -115,7 +115,7 @@

UNSAFE_SHELL_CHAR =
-
%r{([^A-Za-z0-9_\-.,:/@~\n])}.freeze
+
%r{([^A-Za-z0-9_\-.,:/@~\n])}
diff --git a/docs/Version/AlphaToken.html b/docs/Version/AlphaToken.html index 344a22fc7..5670c6c15 100644 --- a/docs/Version/AlphaToken.html +++ b/docs/Version/AlphaToken.html @@ -147,7 +147,7 @@

-
/alpha[0-9]*|a[0-9]+/i.freeze
+
/alpha[0-9]*|a[0-9]+/i
diff --git a/docs/Version/BetaToken.html b/docs/Version/BetaToken.html index 0acb98eba..ccd9d636f 100644 --- a/docs/Version/BetaToken.html +++ b/docs/Version/BetaToken.html @@ -147,7 +147,7 @@

-
/beta[0-9]*|b[0-9]+/i.freeze
+
/beta[0-9]*|b[0-9]+/i
diff --git a/docs/Version/NumericToken.html b/docs/Version/NumericToken.html index 40e32afeb..b2b6c6494 100644 --- a/docs/Version/NumericToken.html +++ b/docs/Version/NumericToken.html @@ -143,7 +143,7 @@

-
/[0-9]+/i.freeze
+
/[0-9]+/i
diff --git a/docs/Version/PatchToken.html b/docs/Version/PatchToken.html index 23d456cd4..024f3a108 100644 --- a/docs/Version/PatchToken.html +++ b/docs/Version/PatchToken.html @@ -147,7 +147,7 @@

-
/p[0-9]*/i.freeze
+
/p[0-9]*/i
diff --git a/docs/Version/PostToken.html b/docs/Version/PostToken.html index 6230c0ea5..bdd5812e5 100644 --- a/docs/Version/PostToken.html +++ b/docs/Version/PostToken.html @@ -147,7 +147,7 @@

-
/.post[0-9]+/i.freeze
+
/.post[0-9]+/i
diff --git a/docs/Version/PreToken.html b/docs/Version/PreToken.html index f76aa8b7d..207ae8121 100644 --- a/docs/Version/PreToken.html +++ b/docs/Version/PreToken.html @@ -147,7 +147,7 @@

-
/pre[0-9]*/i.freeze
+
/pre[0-9]*/i
diff --git a/docs/Version/RCToken.html b/docs/Version/RCToken.html index a93afc475..89ccfef21 100644 --- a/docs/Version/RCToken.html +++ b/docs/Version/RCToken.html @@ -147,7 +147,7 @@

-
/rc[0-9]*/i.freeze
+
/rc[0-9]*/i
diff --git a/docs/Version/StemParser.html b/docs/Version/StemParser.html index 3539eb9c9..6ca87714b 100644 --- a/docs/Version/StemParser.html +++ b/docs/Version/StemParser.html @@ -145,7 +145,7 @@

-
%r{(?:sourceforge\.net|sf\.net)/.*/download$}.freeze
+
%r{(?:sourceforge\.net|sf\.net)/.*/download$}
NO_FILE_EXTENSION_REGEX =
@@ -165,7 +165,7 @@

-
/\.[^a-zA-Z]+$/.freeze
+
/\.[^a-zA-Z]+$/
diff --git a/docs/Version/StringToken.html b/docs/Version/StringToken.html index 714bfeeb2..a1f1e6a35 100644 --- a/docs/Version/StringToken.html +++ b/docs/Version/StringToken.html @@ -147,7 +147,7 @@

-
/[a-z]+/i.freeze
+
/[a-z]+/i
diff --git a/docs/top-level-namespace.html b/docs/top-level-namespace.html index 944da469d..516b3db9e 100644 --- a/docs/top-level-namespace.html +++ b/docs/top-level-namespace.html @@ -293,17 +293,17 @@

HOMEBREW_PULL_API_REGEX =
-
%r{https://api\.github\.com/repos/([\w-]+)/([\w-]+)?/pulls/(\d+)}.freeze
+
%r{https://api\.github\.com/repos/([\w-]+)/([\w-]+)?/pulls/(\d+)}
HOMEBREW_PULL_OR_COMMIT_URL_REGEX =
-
%r[https://github\.com/([\w-]+)/([\w-]+)?/(?:pull/(\d+)|commit/[0-9a-fA-F]{4,40})].freeze
+
%r[https://github\.com/([\w-]+)/([\w-]+)?/(?:pull/(\d+)|commit/[0-9a-fA-F]{4,40})]
HOMEBREW_BOTTLES_EXTNAME_REGEX =
-
/\.([a-z0-9_]+)\.bottle\.(?:(\d+)\.)?tar\.gz$/.freeze
+
/\.([a-z0-9_]+)\.bottle\.(?:(\d+)\.)?tar\.gz$/
ORIGINAL_PATHS = @@ -476,7 +476,7 @@

-
T.let(%r{^([\w-]+)/([\w-]+)/([\w+-.@]+)$}.freeze, Regexp)
+
T.let(%r{^([\w-]+)/([\w-]+)/([\w+-.@]+)$}, Regexp)
HOMEBREW_TAP_CASK_REGEX =
@@ -491,7 +491,7 @@

-
T.let(%r{^([\w-]+)/([\w-]+)/([a-z0-9\-_]+)$}.freeze, Regexp)
+
T.let(%r{^([\w-]+)/([\w-]+)/([a-z0-9\-_]+)$}, Regexp)
HOMEBREW_MAIN_TAP_CASK_REGEX =
@@ -506,7 +506,7 @@

-
T.let(%r{^([Hh]omebrew/(?:homebrew-)?cask/)?[a-z0-9\-_]+$}.freeze, Regexp)
+
T.let(%r{^([Hh]omebrew/(?:homebrew-)?cask/)?[a-z0-9\-_]+$}, Regexp)
HOMEBREW_TAP_DIR_REGEX =
@@ -522,7 +522,7 @@

T.let(
-  %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/(?<user>[\w-]+)/(?<repo>[\w-]+)}.freeze, Regexp
+  %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/(?<user>[\w-]+)/(?<repo>[\w-]+)}, Regexp
 )
HOMEBREW_TAP_PATH_REGEX = @@ -553,13 +553,13 @@

-
T.let(%r{^(?:([Cc]askroom)/(cask|versions)|([Hh]omebrew)/(?:homebrew-)?(cask|cask-[\w-]+))/([\w+-.]+)$}.freeze,
+        
T.let(%r{^(?:([Cc]askroom)/(cask|versions)|([Hh]omebrew)/(?:homebrew-)?(cask|cask-[\w-]+))/([\w+-.]+)$},
 Regexp)
HOMEBREW_OFFICIAL_REPO_PREFIXES_REGEX =
-
T.let(/^(home|linux)brew-/.freeze, Regexp)
+
T.let(/^(home|linux)brew-/, Regexp)
BOTTLE_ERB =