3 ms·Even better with the new syntax: expect(article.slug).to match(/[^\w-]/)by reyan 14y agoEven better with the new syntax: expect(article.slug).to match(/[^\w-]/)