bug-bash
[Top][All Lists]
Advanced

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

Re: Regular Expression matching operation =~


From: Allodoxaphobia
Subject: Re: Regular Expression matching operation =~
Date: 23 Sep 2019 17:14:50 GMT
User-agent: slrn/1.0.3 (FreeBSD)

On Mon, 23 Sep 2019 09:21:44 -0400, Chet Ramey wrote:
> On 9/22/19 5:44 PM, Allodoxaphobia wrote:
>
>> In moving a bash ver. 4.3.48 (Ubuntu) program to a bash ver. 5.0.11
>> (FreeBSD) environment I encountered either a bug, a quirk, or
>> an undocumented feature.
>
> It's not exactly undocumented, more undefined. You can't count on 
> the NUL character or the empty string doing anything in particular.

Thanks.  The "undocumented" action made it so much easier
for some coding logic in my linux/Ubuntu environement. :-)

Thanks, also, to Grisha Levit for more details about the "why".

Regards,
Jonesy
--
  Marvin L Jones    | Marvin      | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy     |  FreeBSD
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm



reply via email to

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