Fix typo
Allow strings for matches and validate :matches key more carefully