feat(general): fix regex to include hyphen (#7566)