EELS Meeting, 2 December 2009
Regular Expresssions
"Cheat Sheet": http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
Steve Ramsay's guide to regular
expressions: http://etext.lib.virginia.edu/services/helpsheets/unix/regex.html
Using regex's in editors and tools:
- Mac's TextWrangler
(free): in Search menu, select "grep" option.
- Window's Notepad++
(free): in Find menu, select "regular expression" option.
- Window's EditPad Pro
- Emacs: ESC-CTRL-S (i.e. hit ESC before CTRL-S or
CTRL-R)
- Unix/Linux/Mac OS shell or Terminal: grep
command, sed command, others
- oXygen XML editor (available for UVa users -- see
this link)
Possibly helpful websites:
- http://www.regular-expressions.info/
(Developed by Just Great Software, jgsoft.com.)
- Has documentation for how to use regular expressions in many
programming languages (JavaScript, Java, PHP, Ruby, Perl, Python, etc.)
and tools (grep, sed, PowerGrep, RegexBuddy, etc.)
- http://www.visca.com/regexdict/
- A dictionary that lets you search for words using regular
expressions. Good for practicing!
- http://en.wikipedia.org/wiki/Regular_expression
Slides use in presentation: (PPT file)