Re: How do i escape ###?

2009-03-14 Thread Nathan Bubna
#set( $H = '#' )
$H$H$H

On Tue, Mar 10, 2009 at 6:26 AM, Philip Peter  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-unsubscr...@velocity.apache.org
> For additional commands, e-mail: general-h...@velocity.apache.org
>
>

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



How do i escape ###?

2009-03-14 Thread Philip Peter
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-unsubscr...@velocity.apache.org
For additional commands, e-mail: general-h...@velocity.apache.org