Marco Pessotto
and 1 contributors

NAME

Text::Amuse::Preprocessor::Parser - Stripped down Muse parser for Text::Amuse::Preprocessor

FUNCTIONS

parse_text($body)

Parse the string provided as argument and return a list of hashrefs with this structure:

  {
   type => "markup" || "text",
   string => $chunk
  }

the concatenation of the string values is equal to the original body (without carriage returns and null bytes, tabs normalized and final newline appended if missing).