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

Support regex matching with attr #2258

Merged
merged 4 commits into from
Jun 27, 2023
Merged

Support regex matching with attr #2258

merged 4 commits into from
Jun 27, 2023

Conversation

yuhan6665
Copy link
Member

Thanks to idea from @RPRX

@RPRX
Copy link
Member

RPRX commented Jun 26, 2023

感谢 PR,预处理一下性能会更好,应该是并发安全的,参考

href = regexp.MustCompile(`href="([/h].*?)"`)

@RPRX RPRX merged commit a6c5c57 into XTLS:main Jun 27, 2023
@yuhan6665 yuhan6665 deleted the clean branch July 2, 2023 22:04
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