on *:input:#: { if ($regex($1,/[.-]b/)) mode # $+($iif($left($1,1) == .,+,-),b) $2 }