bug-bash
[Top][All Lists]
Advanced

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

Re: [DOC] Incomplete explanation about the regex =~ operator


From: kevin
Subject: Re: [DOC] Incomplete explanation about the regex =~ operator
Date: Wed, 9 Jan 2019 20:27:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

My message was poorly formatted (I lack of experience) and consequently you misunderstood it. The shell operation is unusual when a regular expression appears inside a conditional expression. Indeed, neither the Bash man page or the Bash Reference Manual indicates that the shell quotes some characters internally (Bash FAQ: http://git.savannah.gnu.org/cgit/bash.git/tree/doc/FAQ#n1927). Moreover, the explanation in the Bash FAQ is unclear; it lacks examples to know when "an interference" occurred.

Look at the following answer to get an overview of the issue: https://stackoverflow.com/a/12696899


reply via email to

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