On Apr 8, 3:04 pm, grigri <[EMAIL PROTECTED]> wrote: > For a locale-based solution, has anyone tried just using the \w > metachar, as in : `/^\w+$/` ? > > Does this work?
>From what I could tell in PCRE's docs, how PCRE behaves is dependent on how it is compiled. At least the i-modifier is, according to the docs, do I'd assume the \w character class is as well. I wanted a solution that would be as immune as possible to installation dependent things like this. \w is the correct solution in theory, but I can't have my apps breaking because PRCE behaves a little bit differently in Linux distro X... :) .max --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
