Path: | lib/maruku/ext/div.rb |
Last Update: | Thu Feb 18 08:06:09 +0000 2010 |
+————————————{.warning}—— | this is the last warning! | | please, go away! | | +————————————- {.menace} — | | or else terrible things will happen | +————————————————— +—————————————————
OpenDiv | = | /^[ ]{0,3}\+\-\-+\s*(\{([^{}]*|".*"|'.*')*\})?\s*\-*\s*$/ | +————————————{.warning}—— | this is the last warning! | | please, go away! | | +————————————- {.menace} — | | or else terrible things will happen | +————————————————— +————————————————— | |
CloseDiv | = | /^[ ]{0,3}\=\-\-+\s*(\{([^{}]*|".*"|'.*')*\})?\s*\-*\s*$/ | ||
StartPipe | = | /^[ ]{0,3}\|(.*)$/ | note these are not enough for parsing the above example:OpenDiv = /^[ ]{0,3}+\-\-+\s*(.*)$/ CloseDiv = /^[ ]{0,3}\=\-\-+\s*(.*)$/ |
|
DecorativeClosing | = | OpenDiv |