On Feb 24 17:01, LLoyd via Cygwin wrote:
> Hello.
>
> I'll try to keep this short:
> In Cygwin only, using bash 5.2.21-1 or 5.2.15-3 (the only 5.* versions
> available), "empty" in a regular expression is not properly matched
> and breaks the regular expression.
> It's not a quoting issue, I also
On Mon, 24 Feb 2025 at 17:01, LLoyd 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
--
Problem reports: h
Hello.
I'll try to keep this short:
In Cygwin only, using bash 5.2.21-1 or 5.2.15-3 (the only 5.* versions
available), "empty" in a regular expression is not properly matched
and breaks the regular expression.
It's not a quoting issue, I also tested with:
reg='foo|'; [[ foo =~ $regex ]]
GNU bash,
3 matches
Mail list logo