in reply to Re: An "ethical" use of dot-star ..?
in thread An "ethical" use of dot-star ..?
What does that gain, though, over .*?? Is it more efficient, or is it simply avoiding the "problem" by coding round it?
Also, to reliably detect a closing tag, you need to match </. There's nothing to stop "<" from appearing in the data (in fact, it's likely for limits we impose locally on credit). The .* construct would have correctly matched "<" without terminating, and continued to match up until it found the </ of a closing tag.
I don't think I'm convinced that the alternative you suggest would have the same effect on the data, and the data that got grabbed as the .*.
-- Foxcub
#include www.liquidfusion.org.uk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: An "ethical" use of dot-star ..?
by fglock (Vicar) on Jun 02, 2003 at 14:42 UTC | |
|
Re: Re: Re: An "ethical" use of dot-star ..?
by PodMaster (Abbot) on Jun 02, 2003 at 14:51 UTC | |
|
Re: Re: Re: An "ethical" use of dot-star ..?
by sauoq (Abbot) on Jun 03, 2003 at 00:13 UTC |