mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-13 01:06:45 +00:00
Merge pull request #2475 from FlightControl-Master/master
Merge from master
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user