David B Funk wrote: > On Mon, 15 May 2006 [EMAIL PROTECTED] wrote: >> >> .{0,50}?> and [^>]{0,50}> are functionally equivalent. > > Is that true in light of the non-backtracking qualifier at the > beginning of the whole grouping?
The non-backtracking qualifier breaks this. To paraphrase Animal Farm: .{0,50}?> and [^>]{0,50}> are functionally equivalent... except when a non-backtracking quantifier is in effect. > So either that non-backtracking qualifier is the fly in the whole > ointment or I'm misunderstanding what it means. You're correct. -- Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902 Hispanic Business Inc./HireDiversity.com Software Engineer