Anchor format

Most of my anchor text are formatted with a hyphe:

anchor-text

does it matter, or should I put a space instead of a hyphen?