std::regex_traits<CharT>::translate_nocase (3) - Linux Manuals
std::regex_traits<CharT>::translate_nocase: std::regex_traits<CharT>::translate_nocase
Command to display std::regex_traits<CharT>::translate_nocase
manual in Linux: $ man 3 std::regex_traits<CharT>::translate_nocase
NAME
std::regex_traits<CharT>::translate_nocase - std::regex_traits<CharT>::translate_nocase
Synopsis
CharT translate_nocase(CharT c) const;
Obtains the comparison key for the character c, such that all characters that are equivalent to this character in the imbued locale, ignoring the case differences, if any, produce the same key.
When the regex library needs to match two characters c1 and c2 and the flag std::regex_constants::icase is true, it executes regex_traits<>::translate_nocase(c1) == regex_traits<>::translate_nocase(c2).
Standard library specializations of std::regex_traits return std::use_facet<std::ctype<CharT>>(getloc()).tolower(c), that is, convert c to lowercase, using the currently imbued locale.
Parameters
c - character that needs to be examined for equivalence, ignoring case
Return value
The case-insensitive comparison key for c in the currently imbued locale.
Example
This section is incomplete
Reason: no example
Pages related to std::regex_traits<CharT>::translate_nocase
- std::regex_traits<CharT>::translate (3) - std::regex_traits<CharT>::translate
- std::regex_traits<CharT>::transform (3) - std::regex_traits<CharT>::transform
- std::regex_traits<CharT>::transform_primary (3) - std::regex_traits<CharT>::transform_primary
- std::regex_traits<CharT>::getloc (3) - std::regex_traits<CharT>::getloc
- std::regex_traits<CharT>::imbue (3) - std::regex_traits<CharT>::imbue
- std::regex_traits<CharT>::isctype (3) - std::regex_traits<CharT>::isctype
- std::regex_traits<CharT>::length (3) - std::regex_traits<CharT>::length
- std::regex_traits<CharT>::lookup_classname (3) - std::regex_traits<CharT>::lookup_classname
- std::regex_traits<CharT>::lookup_collatename (3) - std::regex_traits<CharT>::lookup_collatename
- std::regex_traits<CharT>::regex_traits (3) - std::regex_traits<CharT>::regex_traits
- std::regex_traits<CharT>::value (3) - std::regex_traits<CharT>::value
- std::regex_traits (3) - std::regex_traits
- std::regex_token_iterator (3) - std::regex_token_iterator
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator*,operator-> (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator*,operator->
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator++,operator++(int) (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator++,operator++(int)
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator= (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator=