Quote:
on 1:mode:#: if (+*m* iswmcs $1) { do stuff }

That would match +i-m, the simplest way to match it is $regex($1, /\+[^-]*m/)


Spelling mistakes, grammatical errors, and stupid comments are intentional.