[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'regex-quote'
From: |
Bruno Haible |
Subject: |
Re: new module 'regex-quote' |
Date: |
Tue, 21 Sep 2010 02:07:44 +0200 |
User-agent: |
KMail/1.9.9 |
Reuben,
> Heh. My point precisely: 3 functions and 50 lines versus 1 flag and 5
> lines (RE_PLAIN) to solve the same problem
I agree that if we had the opportunity to invent regex APIs from scratch
now, all 4 syntaxes (literals, wildcards, basic regular expression, extended
regular expression) would be worth supporting equally.
But the fact is that POSIX standardizes the regex API, and therefore there
is a border between "in glibc" and "outside glibc". Functionality in glibc
is available at no cost; functionality outside glibc requires additional
link options and increased startup time or a 50KB bigger executable.
Bruno
- Re: Plain text matching with regex: RE_PLAIN, (continued)
- Re: new module 'regex-quote', Eric Blake, 2010/09/20
- Re: new module 'regex-quote', Bruno Haible, 2010/09/20
- Re: new module 'regex-quote', Eric Blake, 2010/09/20
- Re: new module 'regex-quote', Bruno Haible, 2010/09/20
- Re: new module 'regex-quote', Bruce Korb, 2010/09/20
- Re: new module 'regex-quote', Reuben Thomas, 2010/09/20
- Re: new module 'regex-quote',
Bruno Haible <=
- Re: new module 'regex-quote', Reuben Thomas, 2010/09/21
- Re: new module 'regex-quote', Bruno Haible, 2010/09/25
- Re: new module 'regex-quote', Reuben Thomas, 2010/09/29
- Re: new module 'regex-quote', Bruno Haible, 2010/09/25
- Re: new module 'regex-quote', Reuben Thomas, 2010/09/29
- Re: Plain text matching with regex: RE_PLAIN, Reuben Thomas, 2010/09/19
- Re: Plain text matching with regex: RE_PLAIN, Bruno Haible, 2010/09/19
- Re: Plain text matching with regex: RE_PLAIN, Reuben Thomas, 2010/09/19