ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@qis.net
Subject Re: regular expression
Date Fri, 04 Mar 2005 16:48:13 GMT
Quoting Radha Sangal <Radha.Sangal@pega.com>:

> 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] + )";
> 
> 

wouldn't this work?

[0-9]+(,[0-9]){3}


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


Mime
View raw message