optimize a $regex - 20/02/04 06:14 PM
check {
unset %result
var %match = $regex($1,/(footext.1|footext.2|footext.3)/i)
if %match >= 1 {
set %result 1
}
}
ok this works, but is there any way I can skip the if %match >= 1 part to make the alias look more efficient ?
tnx
unset %result
var %match = $regex($1,/(footext.1|footext.2|footext.3)/i)
if %match >= 1 {
set %result 1
}
}
ok this works, but is there any way I can skip the if %match >= 1 part to make the alias look more efficient ?
tnx