Fix octave-mode ElDoc support

* lisp/progmodes/octave.el (octave-eldoc-function-signatures): Fix the
regexp used, so no match happens when there is no defined function FN.
Also, tweak the regexp to support GNU Octave 4.2.x and newer.  (Bug#36459)
1 job for emacs-26 in 27 minutes and 12 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #2933
test

00:27:12