inferior-octave-prompt

inferior-octave-prompt is a variable defined in `octave.el'.
Its value is

"\\(?:^octave\\(?:.bin\\|.exe\\)?\\(?:-[.0-9]+\\)?\\(?::[0-9]+\\)?\\|^debug\\|^\\)>+ "


Documentation:
Regexp to match prompts for the inferior Octave process.

You can customize this variable.