v2: Add a note that top_level_domains_lists aren not applied w/o restart
v3: Remove ExtractFirstSignificantSubdomain{Default,Custom}Lookup.h headers
v4: TLDListsHolder: remove FIXME for dense_hash_map (this is not significant)
* Update in-functions.md and tuple-functions.md
Изменил регистр в названиях разделов.
* Update tuple-functions.md and in-functions.md
Убрал описание операторов из in-functions.md.
Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
* Create tuple-functions.md
Выполнил описание функции untuple на английском языке.
* Update tuple-functions.md
Подкорректировал описание.
* Update tuple-functions.md
Подкорректировал описание.
* Update tuple-functions.md
Внес небольшие поправки.
* Translate untuple-functions.md
Выполнил перевод на русский язык.
* Update tuple-functions.md
Внес поправки в английскую и русскую версии.
* Update tuple-functions.md
Внес поправки.
* Update tuple-functions.md and in-functions.md
Добавил функции и ссылки.
Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
Function to count number of substring occurrences in the string:
- in case of needle is multi char - counts non-intersecting substrings
- the code is based on position helpers.
The following new functions is available:
- countSubstrings()
- countSubstringsCaseInsensitive()
- countSubstringsCaseInsensitiveUTF8()
v0: substringCount()
v2:
- add substringCountCaseInsensitiveUTF8
- improve tests
- fix coding style issues
- fix multichar needle
v3: rename to countSubstrings (by analogy with countEqual())
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org') -> ""
- cutToFirstSignificantSubdomain('www.org') -> org
- cutToFirstSignificantSubdomain('kernel.org') -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org
So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org') -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org') -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org') -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org
P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
* Added tid and logTrace functions description
* Added minor fixes
* Minor fixes and added ru translation
* Added links
Co-authored-by: George <gyuton@yandex-team.ru>
* Docs updated for date_trunc() and now().
* Minor fix.
* Minor fix in en. Translation to Russian.
* Minor link fixes.
* Apply suggestions from code review
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Updates
* Minor fix
* Minor updates for now() (en, ru).
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>