On Mon, 24 Feb 2025 at 17:01, LLoyd <lloydsensei+cygwin@gmail.com> wrote: > > [...] > reg='foo|'; [[ foo =~ $regex ]] > > [...] Sorry, typo on that line, I meant to write that I also tested: regex='foo|'; [[ foo =~ $regex ]] It's probably a libc bug. Please let me know if I can do anything. LLoyd