FW: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
Hind Lwahhabi. -Original Message- From: Lwahhabi, Hind Sent: Tue 8/2/2005 4:34 PM To: Ant Users List Patrick Martin Subject: RE: regular expression help+tokens instead of words no because the line does not start with a blank. thanks anyway:) i have solved my problem(see my previous

Re: regular expression help+tokens instead of words

2005-08-02 Thread Patrick Martin
- > From: Basel Ahmed [mailto:[EMAIL PROTECTED] > Sent: Tue 8/2/2005 3:42 PM > To: Ant Users List > Cc: user@ant.apache.org > Subject: RE: regular expression help > > Here's a code snippet that does what you'd like to do with > . > >

solved: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
ok i just modified with following:regexp="([0-9A-Z\/\.a-z]+)" thanks again for your help guys! Hind Lwahhabi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 3:58 PM To: user@ant.apache.org Subject: RE: regular expression help+toke

RE: regular expression help+tokens instead of words

2005-08-02 Thread hind.lwahhabi
Lwahhabi. -Original Message- From: Basel Ahmed [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 3:42 PM To: Ant Users List Cc: user@ant.apache.org Subject: RE: regular expression help Here's a code snippet that does what you'd like to do with . The result is: [echo] Regular

RE: regular expression help

2005-08-02 Thread Basel Ahmed
AM cc Subject Please respond to RE: regular expression help "Ant Users List"

RE: regular expression help

2005-08-02 Thread hind.lwahhabi
44 E-mail:[EMAIL PROTECTED] -Original Message- From: James Fuller [mailto:[EMAIL PROTECTED] Sent: Tue 8/2/2005 3:11 PM To: Ant Users List Subject: Re: regular expression help [EMAIL PROTECTED] wrote: >Hello guys; >I would like some help for the following. >Using how would yo

Re: regular expression help

2005-08-02 Thread James Fuller
[EMAIL PROTECTED] wrote: >Hello guys; >I would like some help for the following. >Using how would you perform the following: > >input string="Foo Bar Jeff Blabla" >replacing prefix="myPrefix" >result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla" > > \w* should match every word o

regular expression help

2005-08-02 Thread hind.lwahhabi
Hello guys; I would like some help for the following. Using how would you perform the following: input string="Foo Bar Jeff Blabla" replacing prefix="myPrefix" result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla" I am doing it currently with but i am sure there is an elegant way