Re: case and accent - insensitive regular expression?
| From: | Andrew Ballard | Date: | Tue, 15 Jul 2008 17:17:15 +0000 |
| Subject: | Re: case and accent - insensitive regular expression? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276865@lists.php.net to get a copy of this message | ||
On Tue, Jul 15, 2008 at 12:30 PM, tedd <tedd.sperling@gmail.com> wrote:
> At 10:15 AM -0400 7/15/08, Andrew Ballard wrote:
>>
>> On TueWell, OK, I can think of one optimization. This takes advantage of
>> the
>> fact that preg_replace can accept arrays as parameters. In a couple
>> very quick tests this version is roughly 30% faster than my previous
>> version:
>
> -snip-
>
> Hey, when you finally get finished with that function, please let me know I
> would like to copy it. :-)
>
> Cheers,
>
> tedd
All yours. I figure I'm done with it. (At least until I actually need
to use it for something and then I have to test it for real. :-) )
Andrew