Bug #16242: Problems with case sensitivity german letters
| From: | mail at hitzker dot de | Date: | Sun, 24 Mar 2002 13:47:31 +0000 |
| Subject: | Bug #16242: Problems with case sensitivity german letters | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3228@lists.php.net to get a copy of this message | ||
From: mail@hitzker.de
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: *Regular Expressions
Bug description: Problems with case sensitivity german letters
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 bug report at http://bugs.php.net/?id=16242&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16242&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16242&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16242&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16242&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16242&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16242&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16242&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16242&r=submittedtwice