(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-52) was last changed on 17-Sep-2008 11:58 by spir  

This page was created on 31-Aug-2006 10:37 by JanneJalkanen

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 175 added 17 lines
I admire your courage with the balancing of braces -- I'd never try it, for I view it as a path to sure madness :). Consider and ASCII-art wiki... Yet it works in similar way to how *we* read text, so maybe it will be "intuitive" after all? Your work is very interesting.
Another possibility is to use more greedy matching -- always use the last "}}}" as the delimiter. Of course, there is a problem when there are multiple blocks:
{{{
{{{
preformatted text
~}}}
normal text
{{{
preformatted text
~}}}
}}}
would get parsed as a preformatted text in whole. But we can amend the situation by watching both "{{{{{{}}}" and "{{{~}}}}}}". Basically, the preformatted block continues until we hit the __last__ "{{{~}}}}}}" before "{{{{{{}}}" or end of document.
This is a loose thought, I haven't tested it. I don't think it gives large improvement over the "multiple consecutive closing braces" rule.
-- Radomir Dopieralski, 2007-01-06
Version Date Modified Size Author Changes ... Change note
52 17-Sep-2008 11:58 11.106 kB spir to previous
51 17-Sep-2008 11:53 11.019 kB spir to previous | to last
50 15-Sep-2008 02:21 10.995 kB spir to previous | to last
49 15-Sep-2008 02:21 10.993 kB spir to previous | to last
48 15-Sep-2008 02:17 10.98 kB spir to previous | to last
47 26-Sep-2007 09:06 9.405 kB ChuckSmith to previous | to last restore
46 26-Sep-2007 00:56 9.425 kB 219.138.204.162 to previous | to last
45 05-May-2007 20:05 9.405 kB RadomirDopieralski to previous | to last artist's decision
44 05-May-2007 14:09 9.222 kB ChristophSauer to previous | to last should nowiki linewrap?
43 11-Feb-2007 23:52 8.985 kB null to previous | to last Agree to separate preformatted and monospace
42 11-Feb-2007 14:27 8.56 kB RadomirDopieralski to previous | to last against escape characters
41 11-Feb-2007 09:23 7.131 kB MicheleTomaiuolo to previous | to last escape char
« This page (revision-52) was last changed on 17-Sep-2008 11:58 by spir