aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference/global_objects/regexp/test/index.html
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-16 23:57:54 +0900
committerGitHub <noreply@github.com>2021-09-16 23:57:54 +0900
commitd9247fba6815cc11d44e0c7c59c69157c830c467 (patch)
tree7abc2a636b4b639d57e1ff601de1adebec6c14c3 /files/ja/web/javascript/reference/global_objects/regexp/test/index.html
parente921a9c17cc7c93b3418de230602d8e0dd20041b (diff)
downloadtranslated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.tar.gz
translated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.tar.bz2
translated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.zip
Web/JavaScript 以下の文書内のリンクURLを正規化 (#2354)
- /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/web/javascript/reference/global_objects/regexp/test/index.html')
-rw-r--r--files/ja/web/javascript/reference/global_objects/regexp/test/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/regexp/test/index.html b/files/ja/web/javascript/reference/global_objects/regexp/test/index.html
index 00fb7cad86..60324a1aff 100644
--- a/files/ja/web/javascript/reference/global_objects/regexp/test/index.html
+++ b/files/ja/web/javascript/reference/global_objects/regexp/test/index.html
@@ -70,7 +70,7 @@ console.log(result); // true
<h3 id="Using_test_on_a_regex_with_the_global_flag" name="Using_test_on_a_regex_with_the_global_flag">グローバルフラグを持つ正規表現の test() の使用</h3>
-<p>正規表現に<a href="/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Advanced_searching_with_flags_2">グローバルフラグ</a>が設定されている場合、 <code>test()</code> は正規表現が所有する {{jsxref("RegExp.lastIndex", "lastIndex")}} の値を加算します。 ({{jsxref("RegExp.prototype.exec()", "exec()")}} も同様に <code>lastIndex</code> プロパティの値を加算します。)</p>
+<p>正規表現に<a href="/ja/docs/Web/JavaScript/Guide/Regular_Expressions#Advanced_searching_with_flags_2">グローバルフラグ</a>が設定されている場合、 <code>test()</code> は正規表現が所有する {{jsxref("RegExp.lastIndex", "lastIndex")}} の値を加算します。 ({{jsxref("RegExp.prototype.exec()", "exec()")}} も同様に <code>lastIndex</code> プロパティの値を加算します。)</p>
<p>その後にさらに <code>test(<var>str</var>)</code> を呼び出すと、 <code><var>str</var></code> を <code>lastIndex</code> から検索します。 <code>lastIndex</code> プロパティは <code>test()</code> が <code>true</code> を返すたびに増え続けます。</p>