Re: alternation option end of string
"Mark J. Reed" <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <CAA=-s3wEGdY1Ts1bO+vH-Z8C7RH8d2CWXERF+SxAtXFpGoxgNA__16078.6427602702$1777675223$gmane$org@mail.gmail.com> |
$ e.g. 'a(b|$)' will match an a that is either followed by a b or at the end of the strings ^ matches the beginning Mark J. Reed <[email protected]> On Fri, May 1, 2026 at 18:32 Ray Andrews <[email protected]> wrote: > I know how to do an alternation, but how do you make one of the choices > 'nothing' meaning end of string? >