feat (searcher): 增加 searchEntryConfig.area
禁用功能、keyAutoMatch
正则 Unicode 支持
#1860
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.
Closes #1815.
#1814 的前置 PR。
按先前讨论,拟藉由
searchEntryConfig.area
实现目标功能,包括:searchEntryConfig.area
的选项;keyAutoMatch
正则增加u
flag,启用 Unicode 支持(caniuse);searchEntryConfig.area
替换后的搜索词打印到控制台。拟适配的站点 config:https://github.com/pt-plugins/PT-Plugin-Plus/pull/1814/files#diff-087d488ae0e58fb2df083615e0c83397dd5e7e1a22fef8f69075f176b758718fR15