struct let easy_to_escape s = String.for_all s ~f:(function | 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '-' | '_' | '*' | '&' | '^' | '=' | '+' | '%' | '$' | '"' | '\'' | '/' | '#' | '@' | '!' | ' ' | '~' | '`' | '\\' | '|' | '?' | '>' | '<' | '.' | ',' | ':' | ';' | '{' | '}' | '(' | ')' | '[' | ']' -> true | other -> false) let impossible_to_escape_for_variable = String.exists ~f:((=) '\x00') end