Just wondering if there's a way to combine these string matches into a shorter operation?
Code: Select all
if {[string match *href* $n] || [string match *http* $n] || [string match *@* $n]} {Code: Select all
if {[string match *href* $n] || [string match *http* $n] || [string match *@* $n]} {Code: Select all
if {[regexp {href|http|@} $n]} {