Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 自定义标题文本替换的正则表达式失效 #191

Closed
1 task done
wangfh5 opened this issue Jun 12, 2024 · 2 comments
Closed
1 task done

[Bug] 自定义标题文本替换的正则表达式失效 #191

wangfh5 opened this issue Jun 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@wangfh5
Copy link

wangfh5 commented Jun 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS: macOS
  • Zotero Version: 7.0.0
  • Addon Version: latest

Describe the bug

使用正则表达式fermi(?!on),匹配fermi并替换为Fermi,但是不匹配fermion,fermions,fermionic等等,测试正常
image
在csv文件中使用\符号包裹正则表达式
image
结果匹配失败,convert to sentence case之后没有将fermi并替换为Fermi(同时fermion也不会被替换为Fermion)
image

Anything else?

No response

@wangfh5 wangfh5 added the bug Something isn't working label Jun 12, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Needs Triage in @northword's Zotero Jun 12, 2024
@northword
Copy link
Owner

抱歉先前给出了错误的回复,请尝试 /fermi(?!on)/

@wangfh5
Copy link
Author

wangfh5 commented Jun 12, 2024

成功了,感谢回复,建议可以写在设置的提示词里面

@wangfh5 wangfh5 closed this as completed Jun 12, 2024
@github-project-automation github-project-automation bot moved this from 🆕 Needs Triage to ✅ Done in @northword's Zotero Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants