bug-bash
[Top][All Lists]
Advanced

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

Re: why are \d and \D not implemented but don't throw errors in regex?


From: Linda Walsh
Subject: Re: why are \d and \D not implemented but don't throw errors in regex?
Date: Tue, 10 Dec 2013 14:13:34 -0800
User-agent: Thunderbird



On 12/10/2013 12:44 PM, Eric Blake wrote:
Grep uses a third-party library (libpcre) to provide it's third syntax;
if that library is not present at compilation, then you can't use that
flavor.  So maybe bash could look into using libpcre as well.  But my
personal problem with libpcre is that it is bloat: bash is already
bigger than dash, and requiring yet another third party library will
further swing the balance away from bash for the systems that want their
POSIX 'sh' to be small rather than bloated.
---
        Go the route vim does -- it can build in the interpreters
for ruby, perl, python, -- but it can also load them dynamically --
so if you don't use any of those, you can still edit, but if you
want to use one, make sure the lib is present at runtime...

        A bit like bash's present extensions/loadables I would think.



reply via email to

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