Bug #16242 Updated: Problems with case sensitivity german letters
| From: | mail at hitzker dot de | Date: | Sun, 24 Mar 2002 14:47:00 +0000 |
| Subject: | Bug #16242 Updated: Problems with case sensitivity german letters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3232@lists.php.net to get a copy of this message | ||
ID: 16242
Updated by: mail@hitzker.de
Reported By: mail@hitzker.de
-Status: Feedback
+Status: Open
Bug Type: *Regular Expressions
Operating System: Linux
PHP Version: 4.0.6
New Comment:
No,I can´t check with PHP4.2.0rc1 , because it´s not my webserver.
The server is from an ISP.
Michael
Previous Comments:
------------------------------------------------------------------------
[2002-03-24 09:42:56] derick@php.net
Can you still try the RC from www.php.net/~derick/ ?
Derick
------------------------------------------------------------------------
[2002-03-24 09:41:05] mail@hitzker.de
Sorry, there was an error in my bug-Report.
There is no 4.0.8 ver. of PHP, of course!
But it works all fine with 4.0.6 on a Windows machine.
------------------------------------------------------------------------
[2002-03-24 08:53:44] derick@php.net
Can you try if it works with PHP4.2.0rc1 from www.php.net/~derick ?
(And where did you find php 4.0.8? That did never exist :)
Derick
------------------------------------------------------------------------
[2002-03-24 08:47:31] mail@hitzker.de
BUG-Report:
preg_match("/^([abcdefghijklmnopqrstuvwxyzäöüß \-])+$/i",$input)
does not Match on "Öhringen", or "dhdgÖfdhh", but on "Lörrach".
I think it is a problem of case sensitivity.
Solutions:
use:preg_match("/^([abcdefghijklmnopqrstuvwxyzäÄöÖüÜß
\-])+$/i",$input[Ort])
or
install PHP 4.0.8 (no problems)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16242&edit=1