[英]Substitute alt attribute with title attribute using sed
I have a PCRE regex that looks like this 我有一个看起来像这样的PCRE正则表达式
s/(<input.+?)alt(=".+?".*?>)/$1title$2/
Can anybody help me with making that work on sed? 有人可以帮助我在sed上进行这项工作吗?
Eventually can anybody point me to some guide/blog post/whatever that explains differences between sed regex and PCRE? 最终有人能指出我一些指南/博客文章/任何解释sed regex和PCRE之间差异的内容吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.