正则/123.+/ 可以匹配 "123\nabc"吗? #30
Unanswered
ruozhiertong
asked this question in
Q&A
Replies: 2 comments 1 reply
-
你是在 Test 下面进行测试的吗 Test 下的 Input 并不支持多行输入(可能换成 Textarea 更合理?)。你输入的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
正则/123.+/ 可以匹配 "123\nabc"吗?
按照一般正则的教程中,. 是没有匹配换行\n的。
在作者项目中,发现这个字符串可以匹配到。 作者是默认使用了s标志 即/123.+/s 吗?
Beta Was this translation helpful? Give feedback.
All reactions