aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/search/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/search/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/search/index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/search/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/search/index.html
index 35a75549c2..a021bd662b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/search/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/search/index.html
@@ -26,8 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/search
<dl>
<dt><code>regexp</code></dt>
- <dd>一个{{jsxref("RegExp", "正则表达式(regular expression)")}}对象</dd>
- <dd>如果传入一个非正则表达式对象 <code>regexp</code>,则会使用 <code>new RegExp(regexp)</code> 隐式地将其转换为正则表达式对象。</dd>
+ <dd>一个{{jsxref("RegExp", "正则表达式(regular expression)")}}对象。如果传入一个非正则表达式对象 <code>regexp</code>,则会使用 <code>new RegExp(regexp)</code> 隐式地将其转换为正则表达式对象。</dd>
</dl>
<h3 id="返回值">返回值</h3>