Arithmetic bugfixes, absolute value, fixed regex syntax

Regex literal is now //...// instead of /.../ because of a conflict with
Rant's division operator.