Alexey Zakhlestin's Blog: Ode to mb_ereg functions

Courtesy PHPDeveloper.org  Mon, 11/30/2009 - 14:38

Alexey Zakhlestin has written an ode to the mb_ereg functions - a set of regular expression based functions that are more than just for unicode strings:

There is a common misunderstanding, that mb_ereg_* functions are just unicode counterparts of ereg_* functions: slow and non-powerful.

That's as far from truth as it can be. mb_ereg_* functions are based on oniguruma regular expressions library.

And oniguruma is one of the fastest and most capable regular expression libraries out...


 

More related items

Sameer Borate's Blog: Grabbing the referrer search...
On his blog today Sameer Borate has a new post with a handy bit of code you can use to find the keywords from a search engine referral to help with tracking how visitors have come to your...

Leonid Mamchenkov's Blog: PHP regular expression to...
Leonid Mamchenkov has a quick new post to his blog sharing a regular expression that can be used to check that a string contains only English or Latin characters (no Unicode allowed). ...

Alexey Zakhlestin's Blog: on PHP's webserver
Alexey Zakhlestin has a new post today with some of his own thoughts on the suggestion for a built-in web server (RFC) that's been floating around lately - a tool that would act as a simple...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com