Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14317 > unrolled thread

Re: Word boundary anchors \< and \> not parsed correctly on the right side of =~

Started byPaulo Marcel Coelho Aragão <marcelpaulo@gmail.com>
First post2018-07-10 12:07 -0300
Last post2018-07-10 12:07 -0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#14317 — Re: Word boundary anchors \< and \> not parsed correctly on the right side of =~

FromPaulo Marcel Coelho Aragão <marcelpaulo@gmail.com>
Date2018-07-10 12:07 -0300
SubjectRe: Word boundary anchors \< and \> not parsed correctly on the right side of =~
Message-ID<mailman.3380.1531235244.1292.bug-bash@gnu.org>
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 !

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web