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

正则表达式匹配缺少多行匹配功能 #366

Open
zsedcbm opened this issue Nov 15, 2024 · 0 comments
Open

正则表达式匹配缺少多行匹配功能 #366

zsedcbm opened this issue Nov 15, 2024 · 0 comments

Comments

@zsedcbm
Copy link

zsedcbm commented Nov 15, 2024

# 表达式
^(new|hot)$

# 内容
new
host
hot
book
newot
newhot

按理说应该能匹配出 new 和 hot 两行内容,结果提示 没有匹配结果,请检查正则

可以参考一下 https://ihateregex.io/playground

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

No branches or pull requests

1 participant