List Info

Thread: Difference between W? and b




Difference between W? and b
country flaguser name
United States
2007-02-14 16:34:30
Hi everybody.

I am using php's preg_match() function.

I would like to match a word containing accents.

I would like this to return true :
preg_match("/^[a-zA-Z]+$/","énorme")

Is there a way to use a simple regular expression or do I
have to
write something like :
preg_match("/^[a-zA-ZEÈÉÊËeèéêë]+$/","énorme&
quot;)

Unlike english, french words have accents, so putting all
the possible
accents would be very annoying :(
I hope there is a workaround 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )