Package creoleparser :: Module elements
[hide private]
[frames] | no frames]

Module elements

source code

Classes [hide private]
  WikiElement
Baseclass for all wiki elements.
  InlineElement
For finding generic inline elements like strong and em.
  Macro
Finds and processes inline macro elements.
  BodiedMacro
Finds and processes macros with bodies.
  BlockMacro
Finds a block macros.
  BodiedBlockMacro
Finds and processes block macros with bodies.
  RawLink
Used to find raw urls in wiki text and build xml from them.
  URLLink
Used to find url type links inside a link.
  InterWikiLink
Used to match interwiki links inside a link.
  WikiLink
Used to match wiki links inside a link.
  BlockElement
Block elements inherit form this class
  List
Finds list (ordered, unordered, and definition) wiki elements.
  ListItem
Matches the current list item.
  NestedList
Finds a list in the current list item.
  DefinitionTerm
Processes definition terms.
  DefinitionDef
Processes definitions.
  Paragraph
"This should be the last outer level wiki element to be "searched".
  Heading
Finds heading wiki elements.
  Table
Find tables.
  TableRow
Finds rows in a table.
  TableCell
Finds cells in a table row.
  Link
Finds and builds links.
  Image
Processes image elements.
  NoWikiElement
Inline no-wiki.
  PreBlock
A preformatted block.
  LoneElement
Element on a line by itself with no content (e.g., <hr/>)
  LonePlaceHolder
A place holder on a line by itself or with other place holders.
  BlankLine
Blank lines divide elements but don't add any output.
  LineBreak
An inline line break.
Functions [hide private]
 
_test() source code
Variables [hide private]
  sanitizer = HTMLSanitizer()
  macro_name = '([a-zA-Z]+([-.]?[a-zA-Z0-9]+)*)'
allows any number of non-repeating hyphens or periods.
Variables Details [hide private]

macro_name

allows any number of non-repeating hyphens or periods. Underscore is not included because hyphen is
Value:
'([a-zA-Z]+([-.]?[a-zA-Z0-9]+)*)'