add a way to modularize regular expressions:

_HEXNUM = "...";
_DECNUM = "...";
NUM = "{_HEXNUM}|{_DECNUM}";
