I have a XHTML form where I ask people to enter their full name. I then match that with preg_match()
using this pattern: /^[p{L}s]+$/
On my local server running PHP 5.2.13 (PCRE 7.9 2009-04-11) this works fine. On the webhost running PHP 5.2.10 (PCRE 7.3 2007-08-28) it doesn't match when the entered string contains the Danish Latin character ? ( http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=%F8&mode=char ).
Is this a bug? Is there a work around?
Thank you in advance!
See Question&Answers more detail:os