Reference
Revised and Expanded RegEx Reference Chart (v2.0)
I’ve fixed some minor errors and expanded the languages covered by my RegEx quick reference chart originally posted here:
RegEx Reference Chart v1.0.
This new version is available in several formats (listed below). Just like the last, it is provided under the Creative Commons Attribution-Share Alike 3.0 License.
- PDF: Regular Expressions Quick-Reference/Comparison Chart, v2.0 (PDF)
- Postscript: Regular Expressions Quick-Reference/Comparison Chart, v2.0 (Postscript)
- DVI: Regular Expressions Quick-Reference/Comparison Chart, v2.0 (DVI)
- LaTeX source: Regular Expressions Quick-Reference/Comparison Chart, v2.0 (LaTeX source)
Corrections, suggestions, and general thoughts are always welcome—even a one-line replies to let me know this was useful.
Everybody Loves Regular Expressions!
I’ve had several requests for my “Regular Expressions Quick-Reference/Comparison Chart,” so I’m posting it here. At the moment, it covers the vim-, BRE- (used by ed, sed, and grep), ERE- (used by egrep, and sed -r), and perl- (used by perl (naturally!) and most copies of rename) flavors at the moment. This is still quite a work in progress—I’m considering adding another column (perhaps ruby?), and I’m sure there are at least one or two typos that I’ve let slip through. Please tell me if you find any errors at all, either through comment here or by email.
![]()
(The requisite preview thumbnail—click to see the 150dpi PNG version.)
After the jump, I’ve attached PDF, postscript, and closely-cropped PNG (150- and 300dpi) versions. I’ve also included my LaTeX source file. Enjoy!
This first release is out of date, last revised on 2008-04-23. See this post for the second version.
Throw out that mouse—you upgraded to a keyboard!
Celebrating the release of Openbox 3.4, I’ve published my mouseless window management design. Of course, if you use firefox, OO.o, or the like, you’ll have to reach for the rat–that’s not my fault, though. :-D
(For those of you reading backward in time from my more recent entries calling for a more keyboard-centric user-interface, this is only one of numerous possible ways to manage window size/placement without a mouse, and not a particularly good one. It’s just what I’ve been using for a while and have gotten used to. Most problematically, it requires significant training to use.)
About the New Interface Advocate
Recent Entries
- Revised and Expanded RegEx Reference Chart (v2.0)
- New Blog Design
- Less is More—Interface Simplification for Vending Machines
- Lessons from an Etch-a-Sketch—Implications for HCI
- Improved Error Dialog Box
- Lumiera Timeline First Draft
- C* Music Player Audioscrobbler/Last.fm patch
- Everybody Loves Regular Expressions!
- Search Done Right—A *Progressive* Progressive Find
- Handy scripts!
- The only two interface designs ever conceived:
- The misused mouse, part 2: A proposal for a nearly mouseless interface.
- The misused mouse, part 1: The story of the mouse’s decline
- Throw out that mouse—you upgraded to a keyboard!
- Fitts’ law vs. mice, tablets, & trackballs