bug-gnulib
[Top][All Lists]
Advanced

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

Re: Dealing with character ranges in grep


From: Stanislav Brabec
Subject: Re: Dealing with character ranges in grep
Date: Thu, 16 Jun 2011 13:51:25 +0200

Jim Meyering wrote:
> Johannes Meixner wrote:
> > recently I became openSUSE package maintainer for grep and gawk.
> >
> > I added Stanislav Brabec, openSUSE package maintainer for sed.
> >
> > In short:
> > I support and appreciate everything which leads to consistence.
> ..
> 
> Thanks for the quick reply and the support.

grep in openSUSE uses glibc regex by default. With -P command line
argument it uses pcre.

So if we will want consistent support for [=e=], then it should be in
glibc.

Note that libpcre documentation cleanly states, that [=e=] is not
supported tere.
16. PCRE now gives errors for /[.x.]/ and /[=x=]/ as unsupported POSIX
features, as Perl does. Previously, PCRE gave the warnings only for /[[.x.]]/
and /[[=x=]]/. PCRE now also gives an error for /[:name:]/ because it supports
POSIX classes only within a class (e.g. /[[:alpha:]]/).

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: address@hidden
Lihovarská 1060/12                            tel: +49 911 7405384547
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/




reply via email to

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