> parsing instead of using regular expressions.
I was under the impression that you were using regex for speed, is
parsing faster?.

> 2) you use {{,}} inside strings as in
> {{="hello {{ world }}" }} without running into trouble.
Simpler = better.

> 3) you can do
> <html>
> {{
> for i in range(10):
> =i
> pass}}
>
> </html>
> and =i is interpreted as response.write(i).
> This was suggested by Denes.
Just to clarify, my suggestion was to able to copy/paste the code
without the need to split it up with braces and pass statements, while
at the same time interpret =x as response.write(x) if = was the first
non-blank char in a line.
Testing tells me that the new template.py removes the need for braces
inside the code but still requires 'pass', correct?.

BTW, template.py line 59 has a tab in it.

Denes.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to