[Templates] CHOMP feature request
Larry Leszczynski
larryl@emailplus.org
Thu, 16 Feb 2006 11:37:08 -0700 (Mountain Standard Time)
On Thu, 16 Feb 2006, Andy Wardley wrote:
> With '-' and '+' it's fairly clear (once you know what they do) that '-'
> removes whitespace and '+' leaves it alone. The same is also true of '='
> for collapsing, if you think of it as two '-' signs with a space between
> them. That's also analogous to what the operator does. However '~' and '^'
> are a little more cryptic.
Not sure if this would complicate parsing (because it's 2 characters
long), but what about '--' for greedy chomp?
> Then we make the '=' collapse operator do what it always should have
> done, which is to replace *all* leading/trailing whitespace with a
> single space.
+1 on this
Larry