From: Simon Strandgaard Date: 2004-05-15T17:23:41+09:00 Subject: Re: Regexp Error? Robert Klemme wrote: > "ts" schrieb im Newsbeitrag > news:200405141521.i4EFLOj03962@moulon.inra.fr... > > >>>>> "R" == Robert Klemme writes: > > > > R> Definitely! What strikes me odd is, that the engine must know start > and > > R> end of the match. So it could relaize that end is at the end. > > > > Well you can have another explanation in 'man 7 regex' (linux) (or > another > > way to see it) > > > > Match lengths are measured in characters, not collating elements. > A > > null string is considered longer than no match at all. > > > > It's in the case of null string vs no match > > This reminds me of the mathematician that found an epsilon so small, that - > if you divided it in halves - it was already negative. :-) Epsilon transitions is a very interesting feature of regexp.. I like them. However variable-width lookbehind with subcaptures and backreferences are even more amazing (that would be suitable to a small research project). -- Simon Strandgaard