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