demerphq wrote:
> It seems like it only happens with + and -, somehow their precedence
> is too low for the print statement.

It's not precedence, it's because they're both binary and unary
operators.

> Although there is odd behaviour of
> '/' but i suspect that is something totally different. Also note that
> adding parens doesn't help.

/ is the beggining of a /.../ regexp. Note that // still parses as a
binary operator here (not an empty pattern.)

Reply via email to