We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 **
例如: # {{metaData.title | replace(r/(.*)/, '') }}
# {{metaData.title | replace(r/(.*)/, '') }}
在Nunjucks在线测试网站中,这样的正则替换语法是可以成功的:
包括 Nunjucks 文档中也提及了对正则的支持。
但是在 Weread 插件中如果这样填写,会报错:
对应的报错内容:
重现步骤 重现错误的步骤:
预期行为 我希望用正则替换去移除微信在书名里强行塞入的广告,类似:
但没有正则的话可能无法实现这个……
我甚至希望文件名也能把这个括号内容替换掉,目前我看到的括号里的内容无一例外都是废话
截图 上面已经附上了。
桌面(请填写以下信息):
The text was updated successfully, but these errors were encountered:
zhaohongxuan
No branches or pull requests
**描述bug **
例如:
# {{metaData.title | replace(r/(.*)/, '') }}
在Nunjucks在线测试网站中,这样的正则替换语法是可以成功的:
包括 Nunjucks 文档中也提及了对正则的支持。
但是在 Weread 插件中如果这样填写,会报错:
对应的报错内容:
重现步骤
重现错误的步骤:
# {{metaData.title | replace(r/(.*)/, '') }}
即可复现预期行为
我希望用正则替换去移除微信在书名里强行塞入的广告,类似:
但没有正则的话可能无法实现这个……
截图
上面已经附上了。
桌面(请填写以下信息):
The text was updated successfully, but these errors were encountered: