14,953
edits
(→快速查表) |
m (→快速查表) |
||
| Line 44: | Line 44: | ||
<tr> | <tr> | ||
<th> 任意次的文字(包含空白),至少出現1次 </th> | <th> 任意次的文字(包含空白),至少出現1次 </th> | ||
<td | <td> {{kbd | key = <nowiki>.+</nowiki>}} = {{kbd | key = <nowiki>.{1,}</nowiki>}}</td> | ||
<td><span style="background:#C6E3FF">What Does the Fox Say? 12 狐狸怎叫 34</span></td> | <td><span style="background:#C6E3FF">What Does the Fox Say? 12 狐狸怎叫 34</span></td> | ||
<td></td> | <td></td> | ||
| Line 51: | Line 51: | ||
<tr> | <tr> | ||
<th> 任意次的空白 </th> | <th> 任意次的空白 </th> | ||
<td | <td> {{kbd | key = <nowiki>\s+</nowiki>}} </td> | ||
<td>What<span style="background:#C6E3FF"> </span>Does the Fox Say? 12 狐狸怎叫 34</td> | <td>What<span style="background:#C6E3FF"> </span>Does the Fox Say? 12 狐狸怎叫 34</td> | ||
<td | <td>任意多個文字(不包含空白) {{kbd | key = <nowiki>[^\s]+</nowiki>}} ={{kbd | key = <nowiki> [^\s]{1,}</nowiki>}}</td> | ||
<td><span style="background:#C6E3FF">What</span> Does the Fox Say? 12 狐狸怎叫 34</td> | <td><span style="background:#C6E3FF">What</span> Does the Fox Say? 12 狐狸怎叫 34</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th> 任意次的英文和數字文字(包含空白) </th> | <th> 任意次的英文和數字文字(包含空白) </th> | ||
<td | <td> {{kbd | key = <nowiki>[\x00-\x80]+</nowiki>}}</td> | ||
<td><span style="background:#C6E3FF">What Does the Fox Say? 12</span> 狐狸怎叫 34</td> | <td><span style="background:#C6E3FF">What Does the Fox Say? 12</span> 狐狸怎叫 34</td> | ||
<td | <td>非英文或數字的文字,出現任意次<br /> {{kbd | key = <nowiki>[^\x00-\x80]+</nowiki>}}</td> | ||
<td>What Does the Fox Say? 12 <span style="background:#C6E3FF">狐狸怎叫</span> 34</td> | <td>What Does the Fox Say? 12 <span style="background:#C6E3FF">狐狸怎叫</span> 34</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th> 任意次的英文和數字文字(不包含空白) </th> | <th> 任意次的英文和數字文字(不包含空白) </th> | ||
<td | <td> {{kbd | key = <nowiki>[\w]+</nowiki>}}</td> | ||
<td><span style="background:#C6E3FF">What</span> Does the Fox Say? 12 狐狸怎叫 34</td> | <td><span style="background:#C6E3FF">What</span> Does the Fox Say? 12 狐狸怎叫 34</td> | ||
<td | <td></td> | ||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th> 任意次的數字(不包含空白) </th> | <th> 任意次的數字(不包含空白) </th> | ||
<td | <td> {{kbd | key = <nowiki>[\d]+</nowiki>}} = {{kbd | key = <nowiki>[0-9]+</nowiki>}}</td> | ||
<td>What Does the Fox Say? <span style="background:#C6E3FF">12</span> 狐狸怎叫 34</td> | <td>What Does the Fox Say? <span style="background:#C6E3FF">12</span> 狐狸怎叫 34</td> | ||
<td | <td>不包含數字的任意次文字 {{kbd | key = <nowiki>[^\d]+</nowiki>}} </td> | ||
<td><span style="background:#C6E3FF">What Does the Fox Say? </span>12 狐狸怎叫 34</td> | <td><span style="background:#C6E3FF">What Does the Fox Say? </span>12 狐狸怎叫 34</td> | ||
</tr> | </tr> | ||