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.
考虑到这个替换任务
<property name="unescaped" value="\ regex \\ replacement \1 unfriendly"> <replaceregexp file="..." match="..." replace="${unescaped}" />
替换字符串没有按原样呈现(\消失了......)
\
如何“以文字形式转义”替换字符串?没有 a 可以scriptdef吗?
scriptdef