[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DOC] Incomplete explanation about the regex =~ operator
From: |
gilaro |
Subject: |
[DOC] Incomplete explanation about the regex =~ operator |
Date: |
Tue, 8 Jan 2019 10:47:21 +0000 (UTC) |
The shell operation mentioned in the Bash Reference Manual (3.1.1 Shell
Operation) does not match the operation defined for the conditional expression
"[[" when using a regular expression (3.2.4.2 Conditional Constructs). The
corresponding explanation is only presented in the Bash FAQ (Why does quoting
the regular expression matching conditional operator (=~) cause regex matching
to stop working?). Moreover, this explanation is unclear; it lacks concrete
examples.
See also: Does bash support word boundary regular expressions?
|
|
|
| | |
|
|
|
| |
Does bash support word boundary regular expressions?
I am trying to match on the presence of a word in a list before adding that
word again (to avoid duplicates). I ...
|
|
|
Best regards,Kevin
- [DOC] Incomplete explanation about the regex =~ operator,
gilaro <=
- Re: [DOC] Incomplete explanation about the regex =~ operator, kevin, 2019/01/09
- Re: [DOC] Incomplete explanation about the regex =~ operator, Chet Ramey, 2019/01/09
- Re: [DOC] Incomplete explanation about the regex =~ operator, kevin, 2019/01/12
- Fwd: Re: [DOC] Incomplete explanation about the regex =~ operator, kevin, 2019/01/12
- Re: [DOC] Incomplete explanation about the regex =~ operator, Chet Ramey, 2019/01/12
- Re: [DOC] Incomplete explanation about the regex =~ operator, kevin, 2019/01/17
- Re: [DOC] Incomplete explanation about the regex =~ operator, kevin, 2019/01/17
- Re: [DOC] Incomplete explanation about the regex =~ operator, Greg Wooledge, 2019/01/17
- Re: [DOC] Incomplete explanation about the regex =~ operator, Chet Ramey, 2019/01/17