On Sun, 2007-10-28 at 23:28 +0000, SamDonaldson wrote: > Hello, > > I'm trying to still figure out this Unicode issue and being able to > support Spanish characters. I see something like this in the > parameters being passed into my form: > > u'M\xfasica' > > How does the formencode.validators.Regex validator handle this if I > set the regex as such: > > regex = r"^[a-zA-Z_',. \-0-9]*$" > > How do I let unicode characters in?
You want [\w',. -], and set the UNICODE flag. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
