ID:               16242
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         *Regular Expressions
+Bug Type:         Documentation problem
 Operating System: Linux
-PHP Version:      4.0.6
+PHP Version:      Any
 New Comment:

You have the set the proper locale first, e.g. setlocale(LC_ALL,
'de_DE'); .

Marking this as a documentation problem as I couldn't find a note on
the preg_match() and on the general PCRE manual page.



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

[2002-03-24 09:47:00] [EMAIL PROTECTED]

No,I can�t check with PHP4.2.0rc1 , because it�s not my webserver.

The server is from an ISP.

Michael

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

[2002-03-24 09:42:56] [EMAIL PROTECTED]

Can you still try the RC from www.php.net/~derick/ ?

Derick

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

[2002-03-24 09:41:05] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to