app/Fact.php
public function value(): string
    {
        if (preg_match('/^1 (?:' . $this->tag . ') ?(.*(?:(?:\n2 CONT ?.*)*))/', $this->gedcom, $match)) {
            return preg_replace("/\n2 CONT ?/", "\n", $match[1]);
        }

        return '';
    }
public function value(): string
    {
        if (preg_match('/^1 (?:' . $this->tag . ') ?(.*(?:(?:\n2 CONT ?.*)*))/', $this->gedcom, $match)) {
            return preg_replace("/\n2 CONT ?/", "\n", $match[1]);
        }

        return '';
    }
public function value ( ) : string { if ( preg_match ( '/^1 (?:' . $ this -> tag . ') ?(.*(?:(?:\n2 CONT ?.*)*))/' , $ this -> gedcom , $ match ) ) { return preg_replace ( "/\n2 CONT ?/" , "\n" , $ match [ 1 ] ) ; } return '' ; }
Get the value of level 1 data in the fact
Allow for multi-line values

@return string
Get the value of level 1 data in the fact Allow for multi - line values