[re.regex.locale]

# 28 Text processing library [[text]](./#text)

## 28.6 Regular expressions library [[re]](re#regex.locale)

### 28.6.7 Class template basic_regex [[re.regex]](re.regex#locale)

#### 28.6.7.5 Locale [re.regex.locale]

[ð](#lib:imbue,basic_regex)

`locale_type imbue(locale_type loc);
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L10772)

*Effects*: Returns the result of traits_inst.imbue(loc) wheretraits_inst is a (default-initialized) instance of the template
type argument traits stored within the object[.](#1.sentence-1)

After a call
to imbue the basic_regex object does not match any
character sequence[.](#1.sentence-2)

[ð](#lib:getloc,basic_regex)

`locale_type getloc() const;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L10787)

*Effects*: Returns the result of traits_inst.getloc() wheretraits_inst is a (default-initialized) instance of the template
parameter traits stored within the object[.](#2.sentence-1)
