bug-bash
[Top][All Lists]
Advanced

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

Re: How to match regex in bash? (any character)


From: Stephane CHAZELAS
Subject: Re: How to match regex in bash? (any character)
Date: Fri, 30 Sep 2011 06:20:32 +0000 (UTC)
User-agent: slrn/pre1.0.0-18 (Linux)

2011-09-29, 13:52(-08), Roger:
[...]
> Since you're saying the regex description is found within either regex(3) or
> regex(7), couldn't there be a brief note within the Bash Manual Page be 
> something
> to the effect:
[...]

No, it's not.

I suppose bash could say: See your system regex(3)
implementation documentation for the description of extended
regular expression syntax on your system. That syntax should be
compatible with one version or the other of the POSIX Extended
Regular Expression syntax whose specification for the latest
version as of writing can be found at:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04

regex(3) points to the API (regex.h), how the system documents
the regexps covered by that API is beyond bash knowledge.

-- 
Stephane




reply via email to

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