Regex source for matching a UUID (8-4-4-4-12 hex format, no anchors).
Regex for matching a complete UUID string (case-insensitive, anchored).
Splits text into chunks with a maximum length, preferring to split at separators.
Escapes special regex characters in a string.
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 character index in a string.
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.
Trims whitespace from start/end and removes all leading indentation from each line.
A tuple of
[row, col](0-indexed).