ant token and regrex to replace string -
am trying replace value on multiples temp directory. temp directory have multiple subfolders , each folder has file called local.q in need replace string clus(test),clus(test1),clust(test2) clust(qae). tried below options using filter , regrex throws error. java.util.regex.patternsyntaxexception: dangling meta character. please me on this?
<replaceregexp match="clus(*)" replace="clus(${clusvalue})" flags="g" byline="true"> <fileset dir="${temp.dir.q}" includes="**/*.q"/> </replaceregexp>
Comments
Post a Comment