ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: How to convert commas into spaces
Date Wed, 09 Feb 2005 15:38:21 GMT
AntContrib: propertyregexp
match:	','
replace:	' '
flags:	g

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Ninju Bohra [mailto:ninju_bohra@yahoo.com]
> Gesendet am: Mittwoch, 9. Februar 2005 16:35
> An: Ant Users Group
> Betreff: How to convert commas into spaces
> 
> Hey Guys (and gals),
>  
> I have this property with a comma delimited list of values 
> (file names)
>  
>     <property name="sql.file.names" 
> value="base.sql,application.sql,report.sql,auxiliary.sql"/>
>  
> and I need to create another property (let's call it 
> sql.file.names.spaced) with the same set of text but with the 
> commas replaced with spaces.
>  
> Any regex experts out there... or any other ANT way of doing it....
>  
> Thanx,
>  
> Ninju
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message