Re: alternation option end of string

Bart Schaefer <[email protected]> Sun, 3 May 2026 17:14:34 -0700
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <CAH+w=7YxrKFAQe7=OM6wowGkpkxs-qZSkzzJVbn=RGRKfaXy=Q@mail.gmail.com>
On Sun, May 3, 2026 at 5:01=E2=80=AFPM Mark J. Reed <[email protected]> w=
rote:
>
> But if you're reading comma-separated fields, you can just use `read`:

My understanding is that these examples do not match the spec Ray desires:

>    INPUT: file,8a
>     base: file
>      idx: 8a
>  comment:

Should be
  idx:
  comment: 8a

>    INPUT: file,a8
>     base: file
>      idx: a8
>  comment:

  idx:
  comment: a8

>    INPUT: file,a8,comment
>     base: file
>      idx: a8
>  comment: comment

  idx:
  comment: a8,comment

>    INPUT: file,8a,comment
>     base: file
>      idx: 8a
>  comment: comment

  idx:
  comment: a8,comment

>    INPUT: file,8a,com,ment
>     base: file
>      idx: 8a
>  comment: com,ment

  idx:
  comment: 8a,com,ment