app/Note.php
public function getNote(): string
    {
        if (preg_match('/^0 @' . Gedcom::REGEX_XREF . '@ NOTE ?(.*(?:\n1 CONT ?.*)*)/', $this->gedcom . $this->pending, $match)) {
            return preg_replace("/\n1 CONT ?/", "\n", $match[1]);
        }

        return '';
    }
public function getNote(): string
    {
        if (preg_match('/^0 @' . Gedcom::REGEX_XREF . '@ NOTE ?(.*(?:\n1 CONT ?.*)*)/', $this->gedcom . $this->pending, $match)) {
            return preg_replace("/\n1 CONT ?/", "\n", $match[1]);
        }

        return '';
    }
public function getNote ( ) : string { if ( preg_match ( '/^0 @' . Gedcom :: REGEX_XREF . '@ NOTE ?(.*(?:\n1 CONT ?.*)*)/' , $ this -> gedcom . $ this -> pending , $ match ) ) { return preg_replace ( "/\n1 CONT ?/" , "\n" , $ match [ 1 ] ) ; } return '' ; }
Get the text contents of the note

@return string
Get the text contents of the note