bug-gnulib
[Top][All Lists]
Advanced

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

Re: Question about some fields in regex's re_pattern_buffer


From: Reuben Thomas
Subject: Re: Question about some fields in regex's re_pattern_buffer
Date: Thu, 29 Jul 2010 21:26:21 +0100

On 29 July 2010 20:25, Bruno Haible <address@hidden> wrote:
> Reuben Thomas wrote:
>> /* This data structure represents a compiled pattern.  Before calling
>>    the pattern compiler, the fields `buffer', `allocated', `fastmap',
>>    `translate', and `no_sub' can be set.  After the pattern has been
>>    compiled, the `re_nsub' field is available.  All other fields are
>>    private to the regex routines.  */
>>
>> Note in particular that last sentence. Is is true? Looking at the code
>> suggests the opposite
>
> Also, in grep/src/dfasearch.c the not_eol field is being set right before
> re_match and re_search.

Thanks. I guess I should report this documentation bug somewhere, but
where? (As mentioned in a recent message to this list, I've not had
much mileage from reporting similar things to glibc in the past.)

-- 
http://rrt.sc3d.org



reply via email to

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