On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: > On 3/19/07, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: > > Hi Bram, Nicolai, > > A 'k' would be greatly appreciated.
I'm really really sorry, won't happen again... > > I'm unable to grasp the description ( attachment ) given in the regxp.c > > file. For a moment they seem like NFA fragments for operators |,+,* > > Well, yes, that's what they are. The diagrams show you how the > different operators are represented. I think the representation can > be a bit difficult to grasp at first, because the representation isn't > like a state diagram/tree/DAG, but more of a list of assembler > instructions. These assembler-like instructions are then executed > by an interpreter that executes the appropriate C code for doing the > matching. This is (mainly) done in regmatch(). Thanks a bunch, I was completely lost... - Asiri > nikolai