Y
Hacker News
new
|
ask
|
show
|
jobs
by
reyan
4837 days ago
Even better with the new syntax:
expect(article.slug).to match(/[^\w-]/)