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

Re: WARNING: sed 3.01 is no longer POSIX.2 compliant



Wichert Akkerman <wakkerma@wiggy.ml.org> wrote:
> As people seem to have noticed, the regular expression code in sed 3.01 has
> changed a lot since 2.05. I qute from /usr/doc/sed/NEWS:
> 
>   Due to excess performance penalties, I have reverted
>   (relative to 3.00) to using regex.c instead of the rx package for
>   regular expression handling, at the expense of losing true POSIX.2
>   BRE compatability.
> 
> This means that POSIX.2 character classes such as [[:space:]] are no longer
> supported.

It should be posible to support these character classes while using
regex.c by passing the string specifying the regular expression through
a preprocessor.

-- 
Raul


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: