Define operator regular expressions as variables

This allows us to define the expressions in a single point (DRY),
and improve their preciseness constistently across the program.