diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:13:18 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 8ccfa93045a6c119303566370999f59a0aae3b25 (patch) | |
tree | 972a4f66cb40a7c722bc20490b0f9b6ceb574e77 /files/zh-cn/web/javascript/reference/global_objects/regexp | |
parent | 3bb96c83e22a7a6214e79e9b903ee1c7b5657e67 (diff) | |
download | translated-content-8ccfa93045a6c119303566370999f59a0aae3b25.tar.gz translated-content-8ccfa93045a6c119303566370999f59a0aae3b25.tar.bz2 translated-content-8ccfa93045a6c119303566370999f59a0aae3b25.zip |
adjust dl/dt/dd tags for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/regexp')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/regexp/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/regexp/regexp/index.html | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/regexp/index.html b/files/zh-cn/web/javascript/reference/global_objects/regexp/index.html index 25f587ed4c..c697ad26c4 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/regexp/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/regexp/index.html @@ -78,8 +78,6 @@ var re = /\w+/;</pre> <dd><code>.</code> 是否要匹配新行(newlines)。</dd> <dt>{{JSxRef("RegExp.prototype.global")}}</dt> <dd>针对字符串中所有可能的匹配项测试正则表达式,还是仅针对第一个匹配项。</dd> - <dt></dt> - <dt></dt> <dt>{{JSxRef("RegExp.prototype.ignoreCase")}}</dt> <dd>匹配文本的时候是否忽略大小写。</dd> <dt>{{JSxRef("RegExp.prototype.multiline")}}</dt> diff --git a/files/zh-cn/web/javascript/reference/global_objects/regexp/regexp/index.html b/files/zh-cn/web/javascript/reference/global_objects/regexp/regexp/index.html index 008b4d7d76..85e5fccd83 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/regexp/regexp/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/regexp/regexp/index.html @@ -26,8 +26,7 @@ RegExp(<var>pattern</var>[, <var>flags</var>]) <dl> <dt><code><var>pattern</var></code></dt> - <dd>正则表达式的文本。</dd> - <dd>从ES5开始,这也可以是另一个<code>RegExp</code>对象或文字(仅用于两个RegExp构造函数符号)。模式可以包含特殊字符<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_special_characters">special characters</a>来匹配比字面值字符串更广泛的值范围 。 </dd> + <dd>正则表达式的文本。从ES5开始,这也可以是另一个<code>RegExp</code>对象或文字(仅用于两个RegExp构造函数符号)。模式可以包含特殊字符<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_special_characters">special characters</a>来匹配比字面值字符串更广泛的值范围。</dd> <dt><code><var>flags</var></code></dt> <dd> <p>如果指定, <code><var>flags</var></code> 是包含要添加的标志的字符串。</p> |