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 -5
View File
@@ -9,6 +9,7 @@ flags : optional regex flags
return value : `true` when the entire subject matches the pattern
:see
>string
>regex
regex_search
regex_search_all
@@ -23,11 +24,6 @@ This is a full-string match, not a substring search. Use `regex_search()` when y
Examples:
```uce
regex_match("[A-Z][a-z]+", "Alice"); // true
regex_match("[A-Z][a-z]+", "Alice!"); // false
regex_match("\\d{4}-\\d{2}-\\d{2}", "2026-04-29");
```
Supported flags:
@@ -41,3 +37,6 @@ Supported flags:
UCE uses PCRE2 in UTF-8 + Unicode-property mode by default, so patterns such as `\\p{L}+` work naturally on Unicode text.
Invalid patterns or invalid flags raise a request-visible runtime error with the PCRE2 diagnostic message.
:example
print(regex_match("^[a-z]+$", "docs") ? "match\n" : "no\n");