Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IWRegex::setLocale ( const P6CHAR pLocale)
pure virtual

This method allows the caller to set the locale that will be used during matching and searching of wide characters.

If it this is not set, then the current default setting is used. This method can be called at any time to change the locale.

Parameters
pLocale[ in ] A standard langange tag (e.g., en_us, fr_fr, fr_ca (french canadian)). This parameter can be set to NULL, in which case a default is used.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpLocale is NULL.