Re: [pcre-dev] Remove some restrictions of lookbehind assert…

Αρχική Σελίδα
Delete this message
Συντάκτης: Zoltán Herczeg
Ημερομηνία:  
Προς: pcre-dev@exim.org
Αντικείμενο: Re: [pcre-dev] Remove some restrictions of lookbehind assertions
> Let me see if I understand that: does (*match:{1}pattern) mean "apply
> the pattern to the string that is currently captured by group 1"?
> Without looking at the interpreter code, I'm not sure if this is easy or
> hard to implement.


This is just throwing some ideas. We could also decide that this is not the task of a regex engine.

> (*MOVE) is a small addition and solves ND's non-atomic assertion
> requirement. Perhaps we can just start with (*MOVE).


Yes, if we choose this option to implement.

I would like to hear others opinion though.

Regards,
Zoltan