aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/guide/regular_expressions
diff options
context:
space:
mode:
authorZack Chang <73225408+jrr997@users.noreply.github.com>2021-05-31 22:00:02 +0800
committerGitHub <noreply@github.com>2021-05-31 22:00:02 +0800
commit33ef44d2df73d4e1705ec10ba54501e4d7f82603 (patch)
tree8c49b7bd3c0e6da4a7822f89c9cd8d1e0b62d371 /files/zh-cn/web/javascript/guide/regular_expressions
parented25f02863bb55189a102c06372ffee8103a248d (diff)
downloadtranslated-content-33ef44d2df73d4e1705ec10ba54501e4d7f82603.tar.gz
translated-content-33ef44d2df73d4e1705ec10ba54501e4d7f82603.tar.bz2
translated-content-33ef44d2df73d4e1705ec10ba54501e4d7f82603.zip
Fix Web/JavaScript/Guide/Regular_Expressions/Quantifiers, zh-CN (#1066)
Correct a translation error.
Diffstat (limited to 'files/zh-cn/web/javascript/guide/regular_expressions')
-rw-r--r--files/zh-cn/web/javascript/guide/regular_expressions/quantifiers/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/guide/regular_expressions/quantifiers/index.html b/files/zh-cn/web/javascript/guide/regular_expressions/quantifiers/index.html
index fa89245988..21eda6551d 100644
--- a/files/zh-cn/web/javascript/guide/regular_expressions/quantifiers/index.html
+++ b/files/zh-cn/web/javascript/guide/regular_expressions/quantifiers/index.html
@@ -37,7 +37,7 @@ original_slug: Web/JavaScript/Guide/Regular_Expressions/量词
<tr>
<td><code><em>x</em>?</code></td>
<td>
- <p>将前面的项“x”匹配0或1次。例如,/ e ?勒?/匹配angel中的el和angle中的le。</p>
+ <p>将前面的项“x”匹配0或1次。例如,/e?le?/匹配angel中的el和angle中的le。</p>
<p>如果立即在任何量词*、+、?或{}之后使用,则使量词是非贪婪的(匹配最小次数),而不是默认的贪婪的(匹配最大次数)。</p>
</td>