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

fix: 修复scopedCSS中new RegExp(prefix)中实例正则特殊字符报错问题 #1508

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

edward492626
Copy link

问题描述:
scopedCss中实例化正则字符串中含特殊字符报错
WechatIMG3749

解决方案
image
将正则字符串转义
同时还将scopedCss中的循环调用添加到if条件中

@timhub66 timhub66 self-requested a review January 21, 2025 08:28
@timhub66
Copy link
Collaborator

@edward492626 ,感谢PR,你有相应的demo吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants