shArithmetic Expansion


Remarks

Numbers in arithmetic expansions must match the following ERE:

[-+]?(0[0-7]+|[1-9][0-9]*|0[Xx][0-9A-Fa-f]+)

Arithmetic expressions support signed integer operators, comparisons, Boolean expressions, assignments, and ternary expressions from C.

Resources