On Thu, Apr 23, 2009 at 2:52 PM, DenesL <denes1...@yahoo.ca> wrote:
>
> On Apr 23, 1:10 pm, Álvaro Justen [Turicas] <alvarojus...@gmail.com>
> wrote:
>>
>> The problem is after "myfile.html", this regex get all text after
>> second double quote because of [^\'] -> it would be [^\'"].
>
> "myfile.html"?
> Can you post the original code that causes the problem?.

If you create a myview.html with:

---
 {{extend "layout.html"}}
bla bla bla...
---

That regex will fail when catching "layout.html" and will match
layout.html"bla bla bla...
That regex is used in admin 'design' page of app.

If you change that regex to my solution and restart web2py, this bug
will be fixed.

-- 
 Álvaro Justen
 Peta5 - Telecomunicações e Software Livre
 21 3021-6001 / 9898-0141
 http://www.peta5.com.br/

--~--~---------~--~----~------------~-------~--~----~
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