Pages

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