Open Sauce
Stuff And Things
Pages
Home
Friday, September 17, 2010
Creating a regexp from a set
(regexp-opt '(
"foo"
"bar"
"baz"
))
;
==> "\\(?:ba[rz]\\|foo\\)"
--
My Emacs Files At GitHub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment