Hi!

I was checking regex which is passed to wikipagename_with_label_link:

yield (r"!?\[(?P<wiki_page>%s)\s+(?P<wiki_label>%s|[^\]]+)\]"
       % (wiki_page_name, WikiParser.QUOTED_STRING),
       wikipagename_with_label_link)

Why is QUOTED_STRING used here? Isn't [^\]] wide enough? Because the
problem is that this string is not unquoted later on. So if you do
[SandBox "the sandbox"] you get quotation marks in the link label?


Mitar

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to