update rename pattern document

This commit is contained in:
Dreagonmon 2024-06-27 18:20:27 +08:00
parent 20cdd36934
commit cf7b8fcf68
3 changed files with 14 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## 基本语法 ## 基本语法
![重命名规则语法](../images/rename_pattern_rule.jpg) ![重命名规则语法](../images/rename_pattern_rule.png)
## 示例 ## 示例
@ -23,3 +23,16 @@
| $1>F{A>b} | bpple | | $1>F{A>b} | bpple |
| $1{p>b}{a>p} | pbble | | $1{p>b}{a>p} | pbble |
| $1{a>p}{p>b} | bbble | | $1{a>p}{p>b} | bbble |
假设有四条重命名的名称,其中每一条匹配到的字符串为:
* 字符串1捕获组1: 100
* 字符串2捕获组1: 500
* 字符串3捕获组1: 500
* 字符串4捕获组1: 1300
| 字符串 | 重命名规则 | 结果 |
|:----:|:----:|:----:|
| 字符串1 | $>N | 1 |
| 字符串2 | $>N | 2 |
| 字符串2 | $>N | 2 |
| 字符串3 | $>N | 3 |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB