[Templates] CHOMP feature request

Josh Rosenbaum josh@infogears.com
Fri, 03 Feb 2006 15:21:42 -0700


Sergey Martynoff wrote:
>> So, I have been thinking about it and I'd like to propose two 
>> new features with whitespace chomping.
> 
>> So CHOMP_KILL would do the following fairly desirable thing (no
> hacks 
>> required).
> 
> That's the right idea. I do suffer a lot sometimes, having to
> write series of TT tags on one line without normal indentation.
> Adding that "hungry chomp" modifier would solve the problem, so I
> join this feature request.

I like this request as well. We could call it HUNGRY_CHOMP too! I like 
that name, Sergey! ;) It's too bad it doesn't follow the format of the 
others. "CHOMP_HUNGRY" doesn't sound quite the same, although, it's 
not bad! ;) To follow in Perl regexp standards we might also be able 
to call it CHOMP_GREEDY.

-- Josh