Re: [SMARTY-DEV] Numeric modifier parameters
| From: | boots | Date: | Sun, 29 Feb 2004 22:55:34 +0000 |
| Subject: | Re: [SMARTY-DEV] Numeric modifier parameters | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2168@lists.php.net to get a copy of this message | ||
--- messju mohr <messju@lammfellpuschen.de> wrote:
> > Note that "." also fools Smarty in a similar way:
> > {$data|scale_number:4:10.5:20:50}
>
> But i can reproduce that. I propose the following fix for it:
> [snip]
> If nobody sees a problem with this change, I'll commit it.
;->
There you are fiddling with the modifier regex and still, no support
for whitespace. I bet you thought I would forget about that one, huh
;->. NEVER! Come on people, even regex's support whitespace (with the
appropriate switch), why not modifiers?
Otherwise, it looks alright to me. :)
xo boots
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools