






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive introduction to regular expressions, a fundamental concept in compiler design. It explains how patterns are specified using operators like union, concatenation, kleene closure, and positive closure. The document also includes numerous examples illustrating the use of regular expressions in defining various language constructs. It is a valuable resource for students and professionals seeking to understand the role of regular expressions in compiler design.
Typology: Schemes and Mind Maps
1 / 10
This page cannot be seen from the preview
Don't miss anything!







Course Name: Compiler Design Course Code: CSE Level:3, Term: Department of Computer Science and Engineering Daffodil International University
A Regular expression (sometimes called a rational expression) is a sequence of characters that define a search pattern, mainly for use in pattern matching with strings, or string matching, i.e. “find and replace”-like operations.
normally occur in programming languages.
is the set of all strings of letters, including ε, the empty string
Examples: