On Fri, 22 Jul 2005 14:36:22 -0400 (EDT), Frank W. Zammetti wrote:
regex != glob ==> s/*/.*/
>Hi all... having some trouble getting a regex replace to work... I have a
>JSP which contains the following line:
><!--Version--><span class="cssAboutVersion">Version 3.0<br>Build
>3063<br>01/01/2005</span><!--EndVersion-->
>I have a task in my build script like so:
><replaceregexp file="${toa_base_dir}/jsp/systemAbout.jsp"
>match="<!--Version-->*<!--EndVersion-->"
>replace="<!--Version--><span
>class="cssAboutVersion">Version
>${project_version}<br>Build
>${next_build_number}<br>${build.datetime}</span><!--
EndVersion-->"
>byline="true" />
>But, nothing is getting replaced. The file exists and is found, and all
>the properties are properly defined previously, it just seems to not be
>finding the matching text. Any ideas? Thanks!
>--
>Frank W. Zammetti
>Founder and Chief Software Architect
>Omnytex Technologies
>http://www.omnytex.com
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
Ciao, Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]