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 regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|