Bug #16242 Updated: Problems with case sensitivity german letters

From: Date: Sun, 24 Mar 2002 13:53:44 +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-3229@lists.php.net to get a copy of this message
ID: 16242 Updated by: derick@php.net Reported By: mail@hitzker.de -Status: Open +Status: Feedback Bug Type: *Regular Expressions Operating System: Linux PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#3229) next »