get_regex_units function

Get regular expressions for units in Julia