added dashes to regex patterns for url slugs.