[Modules]
[Syllabus]
Module #1: Regular Expressions and Languages
Objectives
- Apply concepts from set theory
- Define the terms: alphabet, string, and language
- Define a regular expression
Topics
- Strings
- Alphabets
- Regular Sets
Applications and Importance
1. Strings
- text editing
- Data Base Abstractions
- Compilers (a program is a string)
2. Regular Sets
- Tokens in programming languages
- Data Bases
- Text Searching and editing
- used in languages like Perl, PHP etc.
Background Material
0. Text
Sudkamp: Sections 2.1 - 2.4
1. Wikepedia:
-
Strings etc.
-
Regular Set (Language)
2. Busch, Shiri & Grahne:
Basic Definitions
3. Nelson Padua-Perez
& Bill Pugh: Regular Expressions
4. Lemone:
Lex Examples
[PDF]
from compilers
5. robelle:
Grep examples
Old Homeworks
Old Homework
[PDF]
Old Homework Solutions [PPT]
[DOC]
[PDF]
Other old homeworks
Homework
Homework [PDF]
Homework Solutions [PDF]