ParentFull threadreyan·Even better with the new syntax: expect(article.slug).to match(/[^\w-]/)View on HN