Monthly Archives: February 2008

Emacs tip: Using lisp expressions in replace-regexp

Miscellaneous tip of the day, mostly putting it here so I’ll remember it later! In recent versions of Emacs, you can use lisp expressions to process the replacement result when running a search/replace regexp command (e.g. replace-regexp). The syntax for that is: \,(expression …) The real handy part is that \0, \1, …, \9 work [...]

Posted in Tips | Leave a comment