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: Bruno Haible
Subject: Re: Question about some fields in regex's re_pattern_buffer
Date: Thu, 29 Jul 2010 21:25:18 +0200
User-agent: KMail/1.9.9

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.

Bruno



reply via email to

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