in reply to Re^2: printing the subscript separator
in thread printing the subscript separator

$operator !~ /^\s*$/

I used a plus, but I should have used an asterisk :-)

How about now? Does it work? :-)