aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitc40612041809fe289aba58aefa170bbe784aba1f (patch)
tree8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase
parent12a899ab8540bc84f56a0dc6491be80a48499d49 (diff)
downloadtranslated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase/index.html b/files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase/index.html
index 7492cf627e..c1802df75a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/regexp/ignorecase/index.html
@@ -10,15 +10,15 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/ignoreCase
---
<div>
{{JSRef("Global_Objects", "RegExp")}}</div>
-<h2 id="Summary" name="Summary">概述</h2>
+<h2 id="Summary">概述</h2>
<p><code><strong>ignoreCase</strong></code> 属性表明正则表达式是否使用了 "<code>i</code>" 标志。<code>ignoreCase</code> 是正则表达式实例的只读属性。</p>
<div>
{{js_property_attributes(0,0,0)}}</div>
-<h2 id="Description" name="Description">描述</h2>
+<h2 id="Description">描述</h2>
<p><code>ignoreCase</code> 的值是布尔对象,如果使用了"<code>i</code>" 标志,则返回 <code>true</code>;否则,返回 <code>false</code>。"<code>i</code>" 标志意味着在字符串进行匹配时,应该忽略大小写。</p>
<p>你无法直接更改此属性。</p>
-<h2 id="Examples" name="Examples">示例</h2>
-<h3 id="Example:_Using_MIN_VALUE" name="Example:_Using_MIN_VALUE">例子:使用 <code>ignoreCase</code></h3>
+<h2 id="Examples">示例</h2>
+<h3 id="Example:_Using_MIN_VALUE">例子:使用 <code>ignoreCase</code></h3>
<pre class="brush:js">var regex = new RegExp("foo", "i")
console.log(regex.ignoreCase) // true
@@ -97,7 +97,7 @@ console.log(regex.ignoreCase) // true
</tbody>
</table>
</div>
-<h2 id="See_also" name="See_also">相关链接</h2>
+<h2 id="See_also">相关链接</h2>
<ul>
<li>{{jsxref("RegExp.prototype.global")}}</li>
<li>{{jsxref("RegExp.prototype.lastIndex")}}</li>