Y
Hacker News
new
|
ask
|
show
|
jobs
by
sooheon
3676 days ago
I think emacs has the equivalent built in: `(rx (or "foo" "bar" "baz" "quux"))` gives you: `;; => "\\(?:ba[rz]\\|foo\\|quux\\)"`