mirror of
https://github.com/samsonjs/blog.git
synced 2026-04-27 15:07:41 +00:00
12 lines
886 B
Markdown
12 lines
886 B
Markdown
Title: See your regular expressions in Emacs
|
|
Date: July 6, 2007
|
|
Timestamp: 1183740300
|
|
Author: sjs
|
|
Tags: emacs, regex
|
|
----
|
|
|
|
First, if you are an Emacs newbie then be sure to read (at least) the introduction of <a href="http://stuff.mit.edu/iap/emacs">Being Productive with Emacs</a>. For some reason the PDF and HTML versions are slightly similar.
|
|
|
|
Anyway, it mentions <code>re-builder</code> which is an awesome little gem if you use regular expressions at all<sup>1</sup>. What this baby does is open a small window at the bottom of your screen in which you can type a regex. It is parsed as you type it and matches are highlighted in the other window. Genius.
|
|
|
|
[1] If you don't use them I encourage you to "learn them"http://regex.info/. Don't pay any attention to <a href="http://regex.info/blog/2006-09-15/247">Jamie Zawinsky</a> and his lack of appreciation for a fantastic tool.
|