ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erskine, Chris" <chris.ersk...@eds.com>
Subject RE: regular expression
Date Fri, 04 Mar 2005 16:46:04 GMT
What are you looking for from the RE?  A quick one would be

([0-9]+,[0-9]+,[0-9]+,[0-9]+)

Which should find 4 multi-digit numbers with comma's between them

Chris Erskine
 
EDS Consulting Services
Colorado Springs, CO 
 
Phone: 719-265-5962
Cell: 719-640-6488


> -----Original Message-----
> From: Radha Sangal [mailto:Radha.Sangal@pega.com]
> Sent: Friday, March 04, 2005 9:38 AM
> To: Ant Users List
> Subject: regular expression
> 
> Could someone help me build regular expression for a string like this
> 1,6,3,2.
> 
> 
> 
> I am getting error if I write it like this String patternStr =
> "([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message