13 Regular Expressions

May 1st, 2015
Studypool Tutor
Price: \$10 USD

Tutor description

Regular Expressions. This ppt is the work by Dr. Costas Busch, used with permission, and available from http://csc.lsu.edu/~busch/courses/theorycomp/fall2008/

Word Count: 804
Showing Page: 1/10
13RegularExpressionsByChrisSehoonChoiRegularExpressionsThispptistheworkbyDr.CostasBusch,usedwithpermission,andavailablefromhttp://csc.lsu.edu/~busch/courses/theorycomp/fall2008/1RegularExpressionsRegularexpressionsdescriberegularlanguagesExample:(a+bc)*describesthelanguage{a,bc}*={l,a,bc,aa,abc,bca,...}2RecursiveDefinitionPrimitiveregularexpressions:,e,aGivenregularexpressionsr1r2andr1+r2r1r2r1*Areregularexpressions(r1)3ExamplesAregularexpression:(a+bc)*(c+)Notaregularexpression:(a+b+)4LanguagesofRegularExpressionsL(r)r:languageofregularexpressionExampleL((a+bc)*)={e,a,bc,aa,abc,bca,...}5DefinitionForprimitiveregularexpressions:L()=L(e)={e}L(a)={a}6Definition(continued)Forregularexpressionsr1andr2L(r1+r2)=L(r1)L(r2)L(r1r2)=L(r1)L(r2)L(r1*)=(L(r1))*L((r1))=L(r1)7ExampleRegularexpression:(a+b)a*L((a+b)a*)=L((a+b))L(a*)=L(a+b)L(a*)=(L(a)L(b))(L(a))*=({a}{b})({a})*={a,b}{e,a,aa,aaa,...}={a,aa,aaa,...,b,ba,baa,...}8Example

Review from student

Studypool Student
" Wow this is really good.... didn't expect it. Sweet!!!! "

1821 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors