0

I'd like to capture all source file lines matching the following template (actually any img tag where the url contains an angularjs interpolation):

<td><img src="rsc/kws.corn.icon.{{cure}}.png">

I tried this without success:

src="rsc/[^{]*{{[^"]*"
4

1 回答 1

0

好的,报价丢失了。这是正确的正则表达式,我也对其进行了改进:

src\s*=\s*"rsc/[^{"]*{{[^"]*"
于 2014-10-28T23:13:38.127 回答