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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -