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 (pro-layout/src/utils/isImg): 修改判断是否是图片链接的工具函数 #264

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

Conversation

yuzheng14
Copy link

原正则表达式中 \w.(png|jpg|jpeg|svg|webp|gif|bmp)$ 只能匹配诸如 a.png 此种形式,对于 ab.png 或者更复杂的形式则无法匹配

原正则表达式中 `\w.(png|jpg|jpeg|svg|webp|gif|bmp)$` 只能匹配诸如 `a.png` 此种形式,对于 `ab.png` 或者更复杂的形式则无法匹配
@yuzheng14 yuzheng14 closed this by deleting the head repository Jan 27, 2023
@yuzheng14 yuzheng14 reopened this Mar 13, 2023
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.

1 participant