Presentation is loading. Please wait.

Presentation is loading. Please wait.

©Brooks/Cole, 2001 Chapter 9 Regular Expressions.

Similar presentations


Presentation on theme: "©Brooks/Cole, 2001 Chapter 9 Regular Expressions."— Presentation transcript:

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


Download ppt "©Brooks/Cole, 2001 Chapter 9 Regular Expressions."

Similar presentations


Ads by Google