Ugh make more better regex

This commit is contained in:
2025-01-26 20:03:59 +01:00
parent 8fb0595ef8
commit a06e9027c6

View File

@@ -64,8 +64,8 @@ function shared.StinkyTracker.Init()
return stinkies
end
local arrivedRegex = "([^ -/]+)-?%w*; c:(%w+)"
local arrivedRegexAlt = "([^ -/]+)-?%w*%(!!!!%); c:(%w+)"
local arrivedRegex = "([^ -/]+)-?%w*; c:([^;]+)"
local arrivedRegexAlt = "([^ -/]+)-?%w*%(!!!!%); c:([^;]+)"
---@param msg string
---@return table<string, stinky>
local function ParseArrived(msg)