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

Zend Framework Proposal: Zend\Html\Filter (html...
For a while now, I've been keen to build a html Sanitisation solution for PHP. Where else would I end up putting it other than in Zend Framework? As I've explored in past articles [1] [2],...

html Sanitisation Benchmarking With Wibble (ZF...
In January of this year, I had the idea of writing a html Sanitiser for PHP. Why not? All PHP has is htmlPurifier and a bunch of random solutions that are about as secure as the average...

Regular expression sandboxing - Gareth Heyes
Birth of the regex sandbox I decided today to do a proper blog post to explain my reasons for creating regex sandboxes. I don’t often write a lot of words on this blog partly because I’m...

Bamboo Fun (Medium) Silver Tablet with Pen, Mouse &...
Now there's a simple, easy, and fun way to harness your creativity. Bamboo Fun makes your computer your canvas, allowing you to freely express yourself by simply touching the pen tip to the...

Plantronics T10 Corded Headset Phone
A single-line headset telephone with convenient headset stand on the base The headset is adjustable for over-the-head or over-the-ear convenience Adjustable volume and tone control allow for...


 

Post new comment

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