Re: regular pattern to match åäö

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Just a couple of questions/points to make all clear:
a) are you aware that the "^" at the beggining inverts its meaning?
b) if you want to allow (or "not fail with") "-", put it as the fist
   (or last?) character of the class, since it is used to define
   ranges, and this avoids misinterpreting its meaning
c) what regex family functions are you using and what would be the
   complete expression?

Patrick wrote:
im trying to get my regular pattern to allow åäöÅÄÖ but it refuses to,
i have something like this:

[^a-zA-ZåäöÅÄÖ0-9-_ ]

But this dosent seem to work, anyone got any ideas?
--
Atentamente,
J. Rafael Salazar Magaña
Innox - Innovación Inteligente
Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE
rsalazar@xxxxxxxxxxxx
http://www.innox.com.mx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux