Commit Graph

132 Commits

Author SHA1 Message Date
Robert Schulze
214ee232fd
Clean up string search function docs 2023-04-20 09:30:11 +00:00
Robert Schulze
ec5b421be4
Docs: Sort functions in sidebar 2023-04-19 17:05:55 +00:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space 2023-04-19 15:56:55 +00:00
Robert Schulze
784b34f5d8
Merge pull request #47869 from ClickHouse/rs/bug-47530
Add REGEXP operator
2023-03-22 10:31:25 +01:00
Robert Schulze
42a2370ac6
Docs 2023-03-21 21:33:12 +00:00
Rich Raposa
60ad9ebefa
Update string-search-functions.md 2023-03-20 21:54:19 -06:00
Denny Crane
1c9d72f114
Update string-search-functions.md 2023-03-20 15:20:40 -03:00
Robert Schulze
edde5e591f
Merge pull request #46939 from ClickHouse/rs/doc-update
Docs: Update sidebar entries
2023-02-27 09:20:58 +01:00
Robert Schulze
86dd9b9855
Docs: Sidebar: Remove leading "For" from "Searching/Replacing in Strings" 2023-02-27 08:13:24 +00:00
Robert Schulze
cf062f0c5b
Small optimization of LIKE patterns with > 1 trailing %
Previously, LIKE pattern '%%%ab' became '.*.*ab'. Now, it becomes 'ab'
which is a bit faster (perhaps).

+ minor code cleanup + a minor doc update
2023-02-25 18:50:32 +00:00
Robert Schulze
01e7f41c79
Fix escaping descriptionn in LIKE function docs 2023-02-25 17:13:57 +00:00
taiyang-li
eadac085bf add docs for function regexExtract 2023-02-16 17:33:51 +08:00
Robert Schulze
74937cf27b
Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
Robert Schulze
44a5e9cb17
Minor doc follow-up to #45382 2023-01-31 10:31:01 +00:00
taiyang-li
4cf11d9a84 change as request 2023-01-31 10:48:02 +08:00
taiyang-li
d25740da83 change as request 2023-01-30 16:13:12 +08:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Robert Schulze
1cc5bce1c5
Docs: Mention non-standard DOTALL behavior of ClickHouse's match()
Cf. #34603
2023-01-06 11:18:22 +00:00
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04:00
Xoel Lopez Barata
10625e7c54
Fix typo
Replace "indicies" by "indices"
2022-07-14 17:41:48 +02:00
Alexey Milovidov
3da495d15e
Merge pull request #37779 from ClickHouse/like_match_utf8
Clarify that match() & like() use UTF-8 for matching
2022-06-18 05:43:52 +03:00
Robert Schulze
ba0761fb6a
More details on matching with Unicode 2022-06-17 15:29:32 +02:00
Robert Schulze
26b3dd2d9e
Fix description 2022-06-17 13:41:58 +02:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
Robert Schulze
0588142b7e
Clarify that match() & like() assume UTF-8
The previous explanation sentence

  "The regular expression works with the string as if it is a set of bytes."

suggested otherwise and since we don't have separate methods matchUTF8()
and likeUTF8(), it makes sense to clarify.
2022-06-02 11:56:06 +02:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
Denny Crane
7261e121dd
Update string-search-functions.md 2022-01-03 16:19:54 -04:00
filimonov
9b06430cbd
Update string-search-functions.md 2021-11-22 14:05:23 +01:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
Alexey Milovidov
df3be36758 Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
ana-uvarova
b853144e45 developer`s comments done 2021-03-30 09:15:52 +03:00
AnaUvarova
17c9e7de10
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 19:10:48 +03:00
ana-uvarova
9fd0d09ba2 subheaders clarification and short descr 2021-03-23 09:38:47 +03:00
AnaUvarova
1fd7a2a90f
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:28:37 +03:00
AnaUvarova
70b44373cb
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:27:12 +03:00
AnaUvarova
0bb6275dfe
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:48 +03:00
AnaUvarova
a5d8741060
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:35 +03:00
AnaUvarova
e58a8dd033
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:23 +03:00
AnaUvarova
b15b35ca75
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:25:38 +03:00
ana-uvarova
a93a321db8 ++ 2021-03-22 19:49:14 +03:00
ana-uvarova
9461c4e877 finish 2021-03-22 19:34:57 +03:00
ana-uvarova
2ded2dd249 Merge branch 'ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn' of https://github.com/AnaUvarova/ClickHouse into ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn
# Conflicts:
#	docs/en/sql-reference/functions/string-search-functions.md
2021-03-22 19:32:18 +03:00
ana-uvarova
c1da5dc37a new examples 2021-03-22 19:30:28 +03:00
AnaUvarova
ebe3a304af
Merge branch 'master' into ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn 2021-03-22 19:12:32 +03:00
ana-uvarova
52c7ea3366 comments edits 2021-03-22 17:22:27 +03:00
Vladimir
b1f22e893e
Merge branch 'master' into sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-15 15:57:54 +03:00
Alexey Milovidov
8c9bd09e6c Remove broken "Original article" 2021-03-14 15:19:04 +03:00
ana-uvarova
8a6872e978 ++ 2021-03-13 21:25:06 +03:00
Dmitriy
aad98b368e Edit and translate to Russian
Поправил шаблоны в английской и русской версиях.
2021-03-13 21:18:45 +03:00
ana-uvarova
20dd448cd7 polishing 2021-03-08 15:16:01 +03:00
ana-uvarova
7434022b89 still draft needs check 2021-03-03 22:33:01 +03:00
ana-uvarova
7fa72f238a draft 2021-02-22 12:49:49 +03:00
Anna
ce1f10904e Global replacement Parameters to Arguments 2021-02-16 00:22:10 +03:00
alexey-milovidov
e5fb59851d
Update string-search-functions.md 2021-02-03 14:06:57 +03:00
George
e363a240ee Undo changes 2021-01-14 00:13:36 +03:00
gyuton
d8a38c7e57
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-13 23:56:40 +03:00
gyuton
7df99ff4ff
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-13 23:56:24 +03:00
gyuton
f76c4a7660
Merge branch 'master' into gyuton-DOCSUP-5601-Edit_and_translate_to_Russian 2020-12-30 17:58:32 +03:00
George
e654564aa0 Minor improvements 2020-12-29 14:30:47 +03:00
George
13627226c3 fixed typos 2020-12-29 14:11:48 +03:00
George
56a757d818 Added translation and updated the description 2020-12-29 14:07:30 +03:00
George
f58f54610a Edited English description 2020-12-29 13:54:17 +03:00
Dmitriy
06819c187b Update countMatches function
Поставил ';' в конце запросов.
2020-12-24 20:06:11 +03:00
Dmitriy
46a8027947 Translation into Russian language
Выполнил перевод на русский язык.
2020-12-22 22:10:03 +03:00
Dmitriy
6a93e487c6 Document the countMatches function.
Задокументировал функцию countMatches.
2020-12-21 22:30:37 +03:00
Azat Khuzhin
0004fd8ab9 Merge remote-tracking branch 'upstream/pr/16277' into countMatches-pull 2020-12-01 21:03:33 +03:00
Azat Khuzhin
838596c7a4 Implement countSubstrings()
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())
2020-11-26 22:58:16 +03:00
filipe
6a3ceba9a3 add countMatches sql function (issue #15413) 2020-10-23 01:28:25 -03:00
sevirov
e12f69cb59
DOCSUP-3478: Documented the iLike function (#15880)
* Description of the iLike function

Добавил описание функции iLike и добавил оператор ILIKE.

* Update string-search-functions.md

Changed by comments.

* Update and translation ilike function and ILIKE operator..

Внес поправки в английскую версию и сделал перевод на русский язык.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-19 18:32:09 +03:00
olgarev
dd939ce623
DOCSUP-1674: Docs for the extractAllGroupsHorizontal and extractAllGroupsVertical functions (English) (#14317)
* Docs for the extractAllGroupsHorizontal and extractAllGroupsVertical functions (English).

* Minor fixes (en).

* Misspelling fixed.

* English docs corrected and translated into Russian.

* English misspelling corrected.

Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-10-06 14:17:19 +03:00
vdimir
32f26bcde7 Add start_pos argument for position to documentation, case insensitive tests 2020-08-02 13:29:10 +00:00
Ivan Blinkov
258d2fd499
[docs] split various kinds of CREATE queries into separate articles (#12328)
* normalize

* split & adjust links

* re-normalize

* adjust ru links

* adjust ja/tr links

* partially apply e0d19d2aea

* reset contribs
2020-07-09 18:10:35 +03:00
Ivan Blinkov
cd0e49e9c9
Update string-search-functions.md 2020-06-19 13:10:23 +03:00
Ivan Blinkov
f856e2576c
Update string-search-functions.md 2020-06-19 13:08:10 +03:00
Ivan Blinkov
a620d597a3
Update string-search-functions.md 2020-06-19 13:05:38 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00