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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -