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: [Ant-Contrib]PropertyRegex task
Date Thu, 21 Oct 2004 06:28:39 GMT
not tried:

match:	(.*)\.(.*)\.(.*)\.(.*)
select:	\1	my
		\2	property
		\3	56238912
		\4	1285
but without check for digits or length.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Marcel Stör [mailto:marcel@frightanic.com]
> Gesendet am: Donnerstag, 21. Oktober 2004 08:26
> An: user@ant.apache.org
> Betreff: [Ant-Contrib]PropertyRegex task
> 
> Hi all,
> 
> I'm struggleing with the PropertyRegex task...
> From a property that looks like 
> anyChar.anyChar.8figures.4figures such as
> my.property.56238912.1285 I'd like to extract the 8 figures. 
> What would the
> regexp and select attributes be?
> 
> Thanks for your help.
> Marcel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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