//如何写下面的代码在gradle这个 从蚂蚁转换成摇篮转换Ant来摇篮正则表达式任务
<property name="abc" value="path/to/abc/file"/>
<property name="pqr" value="path/to/pqr/file"/>
<property name="xyz" value="path/to/xyz/file"/>
<var name="myfiltersetTokens" value="abc,pqr,xyz"/>
<for list="${myfiltersetTokens}" param="prop" >
<sequential>
<propertyregex property="@{prop}" input="${@{prop}}" override ="yes" regexp="^[ \s]+|[ \s]+$" replace="" global="true" />
</sequential>
</for>
请说明您的问题。您想做什么? – rbr94
@ rbr94在复制时使用正则表达式在gradle中修剪空格 –