Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法通过查看文档来解决这个问题。
我想匹配除了字符串开头之外到处出现的东西
"hello world hello hello" =~ m/^hello/
会匹配第一个你好
我想要的不是^,所以匹配第二个和第三个你好,但不是第一个
那可能吗?
这会做:
/(?<=.)hello/sg