[PHP-DEV] Bug #11084 Updated: strings From: derick <email protected>
Date: 05/24/01

ID: 11084
Updated by: derick
Reported By: andrus <email protected>
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:

These kinds of matches are very easy with regular expressions:

preg_replace ("/*.cd*./", ....); for *cd*
and
preg_replace ("/abc.ef/", ....); for abc?ef

The isdigit functions are already implemented:

www.php.net/ctype

Previous Comments:
---------------------------------------------------------------------------

[2001-05-24 08:32:58] andrus <email protected>
Hi there :)

I hope i writing this mail to right place :)

When will be implemented case insensitive str_replace?
In to-do list its in long time already..

Also, php is missing (at least i havent found yet) one string matching function (most ppl not deal goodly with regexes, me too : )
Example: to match "abcdef" with mask "*cd*" and "ab?def" ... and so on, with wildcards.

Addionally, one thing would be great too in PHP, its like in C is in types.h ... functions isprint (char *c), isdigit (char *c) and so on ...

Andrus

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11084&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>