cleanup, docs

This commit is contained in:
root
2026-06-16 12:21:31 +00:00
parent dff1959341
commit ea08d5f28b
296 changed files with 1571 additions and 1940 deletions
+4 -4
View File
@@ -9,6 +9,7 @@ flags : optional regex flags
return value : a list of string parts
:see
>string
>regex
regex_match
regex_search
@@ -23,10 +24,6 @@ Splits `subject` wherever `pattern` matches.
Example:
```uce
StringList tags = regex_split("\\s*,\\s*", "uce, components, markdown");
print(join(tags, "\n"));
```
This is the pattern-aware companion to `split()`.
@@ -36,3 +33,6 @@ Behavior notes:
- Empty fields are preserved.
- If the pattern does not match, the result contains the original subject as a single item.
- Zero-length separators are handled safely to avoid infinite loops.
:example
print(join(regex_split("\\s+", "uce docs api"), ","), "\n");