aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author潘韬 <ofcrab@gmail.com>2021-10-08 16:00:28 +0800
committerGitHub <noreply@github.com>2021-10-08 16:00:28 +0800
commit5822647f068b0e7ca1c5772bb4598d29e48555d3 (patch)
treebfe2c668b37f6349b436859ba59a8d91e84bf9c0
parent57d21b6bbb09749d9754f5fa6aaa9a4aa8444f74 (diff)
downloadtranslated-content-5822647f068b0e7ca1c5772bb4598d29e48555d3.tar.gz
translated-content-5822647f068b0e7ca1c5772bb4598d29e48555d3.tar.bz2
translated-content-5822647f068b0e7ca1c5772bb4598d29e48555d3.zip
fix mistranslated comma (#2543)
小数点应该是 `.` 页不是 `。`
-rw-r--r--files/zh-cn/web/javascript/guide/regular_expressions/assertions/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/guide/regular_expressions/assertions/index.html b/files/zh-cn/web/javascript/guide/regular_expressions/assertions/index.html
index 2a80a615fe..b7468ef5be 100644
--- a/files/zh-cn/web/javascript/guide/regular_expressions/assertions/index.html
+++ b/files/zh-cn/web/javascript/guide/regular_expressions/assertions/index.html
@@ -103,7 +103,7 @@ translation_of: Web/JavaScript/Guide/Regular_Expressions/Assertions
<table>
<tbody>
<tr>
- <td><strong>向前否定断言:</strong> x 没有被 y 紧随时匹配 x。例如,对于<code>/\d+(?!\。)/</code>,数字后没有跟随小数点的情况下才会得到匹配。对于<code>/\d+(?!\.)/.exec(3.141)</code>,匹配‘141’而不是‘3’。</td>
+ <td><strong>向前否定断言:</strong> x 没有被 y 紧随时匹配 x。例如,对于<code>/\d+(?!\.)/</code>,数字后没有跟随小数点的情况下才会得到匹配。对于<code>/\d+(?!\.)/.exec(3.141)</code>,匹配‘141’而不是‘3’。</td>
</tr>
</tbody>
</table>