Merge pull request #2475 from FlightControl-Master/master

Merge from master
This commit is contained in:
Thomas
2025-12-18 10:20:06 +01:00
committed by GitHub
@@ -202,9 +202,9 @@ end
-- @return #boolean -- @return #boolean
function MARKEROPS_BASE:_MatchTag(Eventtext) function MARKEROPS_BASE:_MatchTag(Eventtext)
local matches = false local matches = false
self:I(self.lid .. "Casesensitive "..tostring(self.Casesensitive)) --self:I(self.lid .. "Casesensitive "..tostring(self.Casesensitive))
if self.Casesensitive == false then if self.Casesensitive == false then
self:I(self.lid .. "Marker non-casesensitive "..Eventtext) --self:I(self.lid .. "Marker non-casesensitive "..Eventtext)
local type = string.lower(self.Tag) -- #string local type = string.lower(self.Tag) -- #string
if string.find(string.lower(Eventtext),type,1,true) then if string.find(string.lower(Eventtext),type,1,true) then
matches = true --event text contains tag matches = true --event text contains tag