ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Obermeit <yno...@yahoo.com>
Subject Re: Creating property using regular expression on string/property value
Date Mon, 17 Feb 2003 00:09:58 GMT
I haven't created the regexp statement yet as I'm not
sure of what syntax to use for replacing property
values..  The regular expression would be something
like s/\s//

Tony

--- Martin <mgainty@hotmail.com> wrote:
>  
> Could I look at the regexp statement you are using?
> -Martin
> 
> ----- Original Message -----
> From: "Tony Obermeit" <tonyob@compuserve.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Sunday, February 16, 2003 5:02 PM
> Subject: Creating property using regular expression
> on string/property value
> 
> 
> > I have a property value that I want to use for
> part of a file name but the
> > property value sometimes includes spaces that I
> don't want to include in
> > the filename.  I am looking to create a new
> property value but apply a
> > regular expression to an existing property value
> when I create it.  The
> > examples I've seen seem to do this with replacing
> tokens within an
> existing
> > file, I want to do it effectively within a string
> in my build script.
> >
> > Thanks
> >
> > Tony
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

Mime
View raw message