Download presentation
Presentation is loading. Please wait.
Published byGillian Barker Modified over 9 years ago
1
©Brooks/Cole, 2001 Chapter 9 Regular Expressions
2
©Brooks/Cole, 2001 Figure 9-1 Regular Expression
3
©Brooks/Cole, 2001 Figure 9-2 Atoms
4
©Brooks/Cole, 2001 Figure 9-3 Single-Character Pattern Example
5
©Brooks/Cole, 2001 Figure 9-4 Dot Atom Example. Matches any character except \n (newline)
6
©Brooks/Cole, 2001 Figure 9-5 Class Atom Example A class of letters inside [], [a-z], [abc], [A-Z0-9]
7
©Brooks/Cole, 2001 Figure 9-6 Example of Classes
8
©Brooks/Cole, 2001 Figure 9-7 Anchors
9
©Brooks/Cole, 2001 Figure 9-8 Operators
10
©Brooks/Cole, 2001 Figure 9-9 Example of Sequence Operator
11
©Brooks/Cole, 2001 Figure 9-10 Evaluation of a String Using Sequence Operator
12
©Brooks/Cole, 2001 Figure 9-11 Alternation Operator
13
©Brooks/Cole, 2001 Figure 9-12 Matching Alternation Operators
14
©Brooks/Cole, 2001 Figure 9-13 Repetition Operator
15
©Brooks/Cole, 2001 Figure 9-14 Basic Repetition Forms
16
©Brooks/Cole, 2001 Figure 9-15 Example of Short Form Repetition Operators
17
©Brooks/Cole, 2001 Figure 9-16 Repeating Pattern Matching
18
©Brooks/Cole, 2001 Figure 9-17 Greedy Matching
19
©Brooks/Cole, 2001 Figure 9-18 Group Operator
20
©Brooks/Cole, 2001 Figure 9-19 Saving
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.