Commit 652acb78 authored by Brian Stell's avatar Brian Stell Committed by Commit Bot

[intl] Change "regexes" to "regexps".

No change in functionality, this only changes spelling.

Bug: v8:5751

Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: I8dad2315288e82b23782545b050e9502d0320de5
Reviewed-on: https://chromium-review.googlesource.com/1133679Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54381}
parent 559dc183
......@@ -1272,7 +1272,7 @@ MaybeHandle<Object> NumberFormat::FormatNumber(
// namespace {
// TODO(bstell): Make all these a constexpr on the Intl class.
void BuildLanguageTagRegexes(Isolate* isolate) {
void BuildLanguageTagRegexps(Isolate* isolate) {
std::string alpha = "[a-zA-Z]";
std::string digit = "[0-9]";
std::string alphanum = "(" + alpha + "|" + digit + ")";
......@@ -1327,7 +1327,7 @@ icu::RegexMatcher* GetLanguageSingletonRegexMatcher(Isolate* isolate) {
icu::RegexMatcher* language_singleton_regexp_matcher =
isolate->language_singleton_regexp_matcher();
if (language_singleton_regexp_matcher == nullptr) {
BuildLanguageTagRegexes(isolate);
BuildLanguageTagRegexps(isolate);
language_singleton_regexp_matcher =
isolate->language_singleton_regexp_matcher();
}
......@@ -1338,7 +1338,7 @@ icu::RegexMatcher* GetLanguageTagRegexMatcher(Isolate* isolate) {
icu::RegexMatcher* language_tag_regexp_matcher =
isolate->language_tag_regexp_matcher();
if (language_tag_regexp_matcher == nullptr) {
BuildLanguageTagRegexes(isolate);
BuildLanguageTagRegexps(isolate);
language_tag_regexp_matcher = isolate->language_tag_regexp_matcher();
}
return language_tag_regexp_matcher;
......@@ -1348,7 +1348,7 @@ icu::RegexMatcher* GetLanguageVariantRegexMatcher(Isolate* isolate) {
icu::RegexMatcher* language_variant_regexp_matcher =
isolate->language_variant_regexp_matcher();
if (language_variant_regexp_matcher == nullptr) {
BuildLanguageTagRegexes(isolate);
BuildLanguageTagRegexps(isolate);
language_variant_regexp_matcher =
isolate->language_variant_regexp_matcher();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment