Refactor regex

allow unit**n and unit/unit
For now, only base units without prefix