Clarify regex to remove ambiguous defs