Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
ant regex

ant regex

2007-06-12       - By snenkov
Reply:     1     2     3     4  


I am using

<pathconvert property="to.classpath" refid="from.classpath" >
<mapper>
<mapper type="regexp" from="(.*)bin(.*)" to="\1\2"/>
</mapper>
</pathconvert>

where

from.classpath is

"C:\temp\dp\util\bin;C:\temp\dp\util\stack"

\1

returns

C:\temp\dp\util\

but

\2

does not return anything.

I want to get back

"C:\temp\dp\util\;C:\temp\dp\util\stack"


Thanks
Stefan
--
View this message in context: http://www.nabble.com/ant-regex-tf3910621.html
#a11088164
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.