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

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -