code: def tasks(self):
          
          return self._get_object(
              regex=re.compile(
                  r'((?<=\n)|(?<=^))(?P<title>- ((?! @).)*)( *(?P<tagString>( *?@[^(\s]+(\([^)]*\))?)+))?(?P<content>(\n(( |\t)+\S.*)|\n( |\t)*)*)', re.UNICODE),
              objectType="task",
              content=None
          )
docs: *list of the tasks assoicated with this object*
  
          **Usage:**
  
              Given a taskpaper document object (`doc`), get a list of top-level tasks associated with the document using:
  
              .. code-block:: python
  
                  docTasks = doc.tasks
  
              The same is true of project and task objects that may contain sub-tasks:
  
              .. code-block:: python
  
                  aProject.tasks
                  aTasks.tasks