Bash 5 bug in Cygwin only: empty pattern inside a regular expression

LLoyd lloydsensei+cygwin@gmail.com
Mon Feb 24 16:55:35 GMT 2025


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


More information about the Cygwin mailing list