Provides regex source matching a UUID-shaped value (8-4-4-4-12 hex format, no anchors).
Matches a complete UUID-shaped string (case-insensitive, anchored).
Splits text into trimmed, non-empty chunks, preferring separators over forced splits.
Trims leading/trailing blank lines and removes the common leading indentation from each line.
Escapes regex metacharacters for a literal pattern outside character classes.
Formats an integer as a fixed-point decimal string.
Formats a number with an explicit sign prefix (+, -, or ± for zero).
Calculates the optimal length for the next text chunk.
Calculates the row and column of a UTF-16 code-unit index for diagnostic locations.
Returns the substring after the first occurrence of the delimiter.
Returns the substring before the first occurrence of the delimiter.
Returns the substring between the first start and the first end after it.
A zero-based
[row, col]tuple; columns count UTF-16 code units.