ch1_6 - Sep 13 2010(Monday Chapter 1 Regular Languages 7...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sep. 13, 2010 (Monday) Chapter 1: Regular Languages 7 Regular Expressions In the last class, we showed that the set of languages recognized by DFAs is the same as that recognized by NFAs (i.e. DFAs=NFAs). That is, if a language is recognized by an NFA, it is also regular. In this class, we will study a new way “Regular Expression” (RE) to describe a regular language, and we will show that REs = NFAs = DFAs. Finite Automata Expressions Regular Nondeterministic Finite Autonata Deterministic 7.1 Definition of a regular expression R is a regular expression over an alphabet Σ , if R is regular expressions languages a for some a in Σ { a } ε { ε } {} R 1 R 2 L ( R 1 ) L ( R 2 ) R 1 R 2 = R 1 R 2 L ( R 1 ) L ( R 2 ) R * 1 L ( R 1 ) * where R 1 and R 2 are regular expressions If there are multiple operations in a regular expression, we follow the following order: the star operation the concatenation operation the union operation But if a regular expression has parentheses, then we do the operations in the parentheses first.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern