Although there's a simple workaround (if ($1 !isnum)), I'd suggest a property for $highlight that treats the input as text even if it is just a number.