mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-30 19:34:50 +00:00
710 B
710 B
Configuration data escaping rules:
-
You can escape the format character (@) by preceding it with a backslash.
-
Backslashes not directly preceding a format character are not modified.
-
The number of backslashes preceding a @ in the output is equal to the number of backslashes in the input divided by two, rounding down.
For example, given the string "\@" (one backslash), the output will contain no backslashes. Both "\\@" and "\\\@" (two and three backslashes) will produce one backslash in the output "\@".
Examples:
"\@" -> "@"
"\\@" -> "\@"
"\\ @" -> "\\ @"