velocity-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nbu...@gmail.com>
Subject Re: How do i escape ###?
Date Sun, 15 Mar 2009 05:11:06 GMT
#set( $H = '#' )
$H$H$H

On Tue, Mar 10, 2009 at 6:26 AM, Philip Peter <philip.peter@gmx.de> wrote:
> Hi,
> we use Velocity to prepare html pages which are then further processed through regular
expressions. One placeholder for these regex starts and ends with ###_ _###. However I'm at
a loss on how to correctly escape the sequence '###' so that velocity won't interpret any
part of it as a comment.
>
> I've tried '\###', \#\#\#', '\##\#' and '\#\##' but had no luck so far.
> Is it possible to escape the sequence so that it appears as ### in the velocity output?
>
> Bye,
> Philip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@velocity.apache.org
> For additional commands, e-mail: general-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@velocity.apache.org
For additional commands, e-mail: general-help@velocity.apache.org


Mime
View raw message