Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加以下两项配置
自定义正则(number_regexs): 有些番号使用默认的规则匹配不到, 添加用户配置自定义正则的入口(匹配第一组), 如果自定义正则匹配不到会使用默认规则匹配.
番号大写转换(number_uppercase): 由于有些番号匹配下来是小写的, 添加了一个配置项, 可以在写入数据时将番号转换成大写的.
效果预览:
location_rule = number
, 其他为默认配置默认配置
修改配置后
config.ini
: