bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: RFE: upgrade 'sed' RE's to include perlre syntax.


From: Paolo Bonzini
Subject: Re: RFE: upgrade 'sed' RE's to include perlre syntax.
Date: Thu, 24 Jul 2014 16:44:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Il 22/07/2014 10:24, Linda A. Walsh ha scritto:
> Both simple atoms such as "\d" for [0-9] or "\S" for non-space characters
> are supported in awk and have been added to grep with the -P switch.
> 
> Would it be possible to add a -P type switch to 'sed' so that
> pcre compat RE's could be used?

Yes, indeed part of the work is already done and part of the GNU sed
tarball (search for REG_PERL).  Though the option was -R, not -P.

Paolo



reply via email to

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