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.
如何读取在 Perl 中使用正则表达式分成两行的 URL?
[REQ-URL]: http://hostname:8080/guiderest? customerId=cisco&code=news&guide=MostPopular&attrFilter=BlogFlag:true&v=1
my ($url) = $text =~ /( http [\S\r\n]+ )/x; $url =~ tr|\r\n||d;