[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: upgrade 'sed' RE's to include perlre syntax.
From: |
Jose E. Marchesi |
Subject: |
Re: RFE: upgrade 'sed' RE's to include perlre syntax. |
Date: |
Thu, 24 Jul 2014 18:52:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> > 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.
>
> I want to release a new version of sed this August (it is time!) and I
> would love to include this functionality on it. I think it is not too
> late to use -P instead of -R, to keep some uniformity with the other
> tools.
I can try... :)
Jose, in the meanwhile can you update gnulib in the sed repository?
Done.