Expand description
Small helpers shared by core and first-party plugins, so each rule has one implementation.
Functions§
- parse_
cell - Parse a cell reference (
B12,$B$12) into zero-based(row, col).$may only appear directly before the column letters and before the row number. - percent_
encode - Percent-encode everything except RFC 3986 unreserved characters and, if
keep_slash,/. - scaled_
decimal - Parse decimal text (
"-12.30") into an integer scaled by10^scalefor an Arrow decimal. Negative scales are allowed ("1200"at scale -2 is12). Digits that the scale would drop must be zero: a value that doesn’t fit the scale is an error, never silently cut. - summarize
- One line, at most
maxcharacters, for quoting SQL in messages.