Re: how to extract part of HTML page
- From: Sjoerd <sjoerder@xxxxxxxxx>
- Date: 17 Sep 2008 08:53:12 GMT
On Tue, 16 Sep 2008 18:14:31 -0400, Jerry Stuckle wrote:
Ecka wrote:
Hmmm, to me a regex seems a bit overkill here. There's a lot of
overhead with regex's.
A preg_match() such as those suggested take on my system approx 93
microseconds. Will the user notice that? Is it worth the hassle to
rewrite it to use strpos() and substr(), even though that may be several
times faster?
.
- Follow-Ups:
- Re: how to extract part of HTML page
- From: Jerry Stuckle
- Re: how to extract part of HTML page
- From: r0g
- Re: how to extract part of HTML page
- References:
- how to extract part of HTML page
- From: Ecka
- Re: how to extract part of HTML page
- From: Jerry Stuckle
- how to extract part of HTML page
- Prev by Date: Re: How do I retrieve my array from mysql_fetch_array when returned from a class?
- Next by Date: Re: set_error_handler returns
- Previous by thread: Re: how to extract part of HTML page
- Next by thread: Re: how to extract part of HTML page
- Index(es):
Relevant Pages
|