Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14317
| From | Paulo Marcel Coelho Aragão <marcelpaulo@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Word boundary anchors \< and \> not parsed correctly on the right side of =~ |
| Date | 2018-07-10 12:07 -0300 |
| Message-ID | <mailman.3380.1531235244.1292.bug-bash@gnu.org> (permalink) |
| References | <5b440fe8.1c69fb81.948f6.4d1e@mx.google.com> <20180710122718.wrrzjuqpmpns4o4o@eeg.ccf.org> <20180710130234.r5mwjc62adids7m5@monk> <69409432-a74c-a489-4d66-64a9f61cb9bf@case.edu> |
On Tue, Jul 10, 2018 at 10:50:05AM -0400, Chet Ramey wrote: >> […] However, this indicates to me that bash recognizes \< \> as word >> anchors: > No, it doesn't. It indicates that the system's POSIX regular expression > implementation has extensions. >> 3. bash evaluates them correctly when used with parameter expansion > No. It passes them to the system's POSIX regexp library function, which > understands them as an extension. A subtle point, which makes sense. It really brings home what the reference manual means by "as in regex3". Thanks for shedding light on this !
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Word boundary anchors \< and \> not parsed correctly on the right side of =~ Paulo Marcel Coelho Aragão <marcelpaulo@gmail.com> - 2018-07-10 12:07 -0300
csiph-web