Title: Introduction: Filters 2 - Regular Expressions
Course: CIS 121: Linux/UNIX I: Fundamentals ~ For IGNITE Review > Section: Learning Modules

Regular Expressions (Reg Ex) are a very powerful method of pattern matching. They are used in the sed and grep commands, but also found in Perl, AWK, Ruby and Tcl, among other places. Some people regard them as being very “tricky”, although the basic rules are fairly straightforward. We will only look at a small portion of “limited regular expressions”. Be sure to give yourself plenty of time to fully understand the points that we cover.

Required Activities:

- Readings
  - Review the pages in this module
  - Read Pages 165-167, in the Linux Essentials text book
- Presentations and Videos - view the following videos and use the presentation as an extra resource outlining the topics covered in the videos. Consider pausing the videos at different intervals while you practice what is taught.
  - Comparing Files video lecture (Time: 13:13), PDF or ODP presentation
  - Regular Expressions - Character and Character Set Presentation video lecture (Time: 22:30), PDF or ODP presentation
  - Regular Expressions - Character Set BOL and EOL video lecture (Time: 12:37), PDF or ODP presentation
  - Regular Expressions - Zero to Many Characters video lecture (Time: 25:49) PDF or ODP
- Exercise - Complete the following exercises (located under the Exercises link within the left navigation area).
  - Exercise 9
- Quiz - Complete the following exercises (located under the Quizzes and Exams link within the left navigation area).
  - Quiz 9

Enrichment Activities:

- Reference Text: Read pages 115-117, 120-128 in the Unix and Linux book.