[dev] Re: [cvs] commit: framework/Text_Flowed Flowed.php

Michael M Slusarz slusarz at mail.curecanti.org
Wed Feb 9 21:06:03 PST 2005


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Michael M Slusarz <slusarz at curecanti.org>:
>
>> slusarz     2005-02-08 20:10:47 PST
>>
>>  Modified files:
>>    Text_Flowed          Flowed.php
>>  Log:
>>  Factor encoding of the text into comparisons/regex.
>>  Use the preg() functions if we are dealing with UTF-8 text.
>
> As we already depend on String:: in this class, I would suggest you 
> add new regex methods to String:: that wrap preg with /u and 
> mb_regex, we might need them elsewhere in the future.

Check out what I committed to String::.  WE have to limit our allowed 
regexs a bit, however, since the ereg() syntax is a much simpler subset 
of the preg() syntax.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the dev mailing list