aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/search
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:13:18 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit8ccfa93045a6c119303566370999f59a0aae3b25 (patch)
tree972a4f66cb40a7c722bc20490b0f9b6ceb574e77 /files/zh-cn/web/javascript/reference/global_objects/string/search
parent3bb96c83e22a7a6214e79e9b903ee1c7b5657e67 (diff)
downloadtranslated-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/string/search')
-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>