aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/guide/regular_expressions/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/guide/regular_expressions/index.html')
-rw-r--r--files/zh-cn/web/javascript/guide/regular_expressions/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/files/zh-cn/web/javascript/guide/regular_expressions/index.html b/files/zh-cn/web/javascript/guide/regular_expressions/index.html
index d4b03b82de..5534db8860 100644
--- a/files/zh-cn/web/javascript/guide/regular_expressions/index.html
+++ b/files/zh-cn/web/javascript/guide/regular_expressions/index.html
@@ -567,33 +567,33 @@ console.log(newstr);
<caption>正则表达式标志</caption>
<thead>
<tr>
- <th scope="col" style="white-space: nowrap;">标志</th>
- <th scope="col" style="white-space: nowrap;">描述</th>
+ <th scope="col">标志</th>
+ <th scope="col">描述</th>
</tr>
</thead>
<tbody>
<tr>
- <td style="text-align: center;"><code>g</code></td>
+ <td><code>g</code></td>
<td>全局搜索。</td>
</tr>
<tr>
- <td style="text-align: center;"><code>i</code></td>
+ <td><code>i</code></td>
<td>不区分大小写搜索。</td>
</tr>
<tr>
- <td style="text-align: center;"><code>m</code></td>
+ <td><code>m</code></td>
<td>多行搜索。</td>
</tr>
<tr>
- <td style="text-align: center;"><code>s</code></td>
+ <td><code>s</code></td>
<td>允许 <code>.</code> 匹配换行符。</td>
</tr>
<tr>
- <td style="text-align: center;"><code>u</code></td>
+ <td><code>u</code></td>
<td>使用unicode码的模式进行匹配。</td>
</tr>
<tr>
- <td style="text-align: center;"><code>y</code></td>
+ <td><code>y</code></td>
<td>执行“粘性(<code>sticky</code>)”搜索,匹配从目标字符串的当前位置开始。</td>
</tr>
</tbody>