We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-
1 parent 11e264b commit f2406d2Copy full SHA for f2406d2
src/prometheus/util.lua
@@ -24,7 +24,7 @@ end
24
25
local function escape(str)
26
return str:gsub(".", function(char)
27
- if char:match('[^ -~\n\t\a\b\v\r\"\']') then -- Check if non Printable ASCII Character
+ if char:match("[^ %-~\n\t\a\b\v\r\"\']") then -- Check if non Printable ASCII Character
28
return string.format("\\%03d", string.byte(char))
29
end
30
if(char == "\\") then
0 commit comments