help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is wrong with a regex?


From: Koichi Murase
Subject: Re: What is wrong with a regex?
Date: Sat, 4 Feb 2023 15:15:58 +0900

2023年2月4日(土) 15:10 Jeffrey Walton <noloader@gmail.com>:
> You might also try the test on Linux after setting the POSIXLY_CORRECT
> environmental variable. It may make GNU gear more conformant. I think
> you can also start bash with --posix option.
>
> Also see 
> https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html

Thanks for the suggestion. I now tried the posix mode and export
POSIXLY_CORRECT=y in GNU/Linux (w/ glibc), Cygwin (w/ newlib), but
they didn't change the behavior. They still seem to support the empty
subexpressions.

--
Koichi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]