[bug #54661] textscan() continues from next line if line ends with delimiter

Nicholas Jankowski <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #13, bug #54661 (group octave):

regarding the comment #11 example, Octave 11.1.0 still produces the same
output for both commands, but Matlab 2025a produces something very different:


>> c = textscan("0.0;w;x\n2.0;;b\n", "%f;%s;%s",'Delimiter',';',
>> 'MultipleDelimsAsOne', false)

c =

  1×3 cell array

    {[0]}    {0×1 cell}    {0×1 cell}


so, not sure what we should be expecting here.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54661>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCabnC0wAKCRCqLAuaBUf3
TpwuAP9vUiQLPLzzay7RyBKf6DfeO1CPv4D32lMIcaDofCwrVwEAmU4ndJmjNutb
nMnJgXbqdPJuSWX+0vOcAV2g8M/szAQ=
=B1Ll
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.