Source: https://xkcd.com/208/.
Goals:
Introduction to regular expressions
, an important semi-language for constructing searches.
Software:
- Any text editor supporting regular expressions:
- Sublime Text (both Mac and Windows)
- EditPad Pro and Lite (Windows only)
- many other text editors for programmers support regular expressions.
Class materials:
- Presentation with all the slides:
- PDF (Windows PowerPoint Format)
- Practicum file (
Right Click > Save File as ...
):
Digital materials:
- Online references:
- Interactive tutorial: http://regexone.com/
- Cheat Sheets:
Reference Materials:
- Goyvaerts, J. and Levithan, S. (2012). Regular Expressions Cookbook. Second edition. Beijing: O’Reilly. Amazon Link.
- Friedl, J. E. F. (2006). Mastering Regular Expressions. 3rd ed. Sebastapol, CA: O’Reilly. Amazon Link
Homework:
- Finish the practicum; make a blogpost on your website with the answers.
- Codecademy’s Learn Python, Unit 5-6
- Github: publish the confirmation screenshot as a post on your new site.