Re: (PHP4BETA) New function chrcount
| From: | Peter Kovacs | Date: | Mon, 24 Apr 2000 20:23:30 +0000 |
| Subject: | Re: (PHP4BETA) New function chrcount | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13996@lists.php.net to get a copy of this message | ||
That sounds a lot like a regular expression matching engine to me,
especially when you get into substrings that have suffixes that are also
non-trivial prefixes.
I like the str_chr_freq suggestion, any objections to that?
On Mon, 24 Apr 2000, Ted Parnefors wrote:
> How about if you instead extend its functionallity to not only count the
> occurencies of characters, but instead include the possibility to count
> the number of occurencies of substrings, and hence call the function
> count_occurencies ?
>
> Cheers!
>
> --
> Ted Parnefors <ted@mtv.se>, KeyID 0x6627DEE4
> PGP Fingerprint 1C39FA94703EB54A011CF18932018E256627DEE4
>
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Lead Engineer peter@knowpost.com
--------------------------------------------------