tutorial8 - CS 230 Tutorial 8 March 7 2011 Jonathan...

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

View Full Document Right Arrow Icon
CS 230 Tutorial 8 March 7, 2011 Jonathan Rodriguez [email protected]
Image of page 1

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

View Full Document Right Arrow Icon
Tutorial 8 Regular Expression Examples Recursion in MIPS
Image of page 2
Tutorial 8 Regular Expression Examples Recursion in MIPS
Image of page 3

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

View Full Document Right Arrow Icon
Regular Expressions r No: (empty string) Yes: r No: rr No: s
Image of page 4
Regular Expressions r|s No: (empty string) Yes: r No: rr Yes: s No: rs
Image of page 5

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

View Full Document Right Arrow Icon
Regular Expressions r* Yes: (empty string) Yes: r Yes: rr No: s
Image of page 6
Regular Expressions r*|s Yes: (empty string) Yes: r Yes: rr Yes: s No: rs
Image of page 7

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

View Full Document Right Arrow Icon
Regular Expressions the|re No: (empty string) Yes: the Yes: re No: there No: the|re
Image of page 8
Regular Expressions the(re)* No: (empty string) Yes: the No: re Yes: there Yes: therere
Image of page 9

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

View Full Document Right Arrow Icon
Regular Expressions (re)+ No: (empty string) Yes: re Yes: rere re(re)* same
Image of page 10
Regular Expressions arr*gh No: (empty string) Yes: argh Yes: arrgh Yes: arrrgh No: agh same ar+gh
Image of page 11

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

View Full Document Right Arrow Icon
Regular Expressions ma.e No: (empty string) Yes: make Yes: made Yes: mace No: mae
Image of page 12
Regular Expressions ma\.e No: (empty string) Yes: ma.e No: made No: mace No: mae
Image of page 13

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

View Full Document Right Arrow Icon
Regular Expressions ma\\e No: (empty string) Yes: ma\e No: ma\\e No: mace No: mae
Image of page 14
Regular Expressions ma.*e No: (empty string) Yes: made Yes: madddde Yes: macky7.he Yes: mae No: maed
Image of page 15

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

View Full Document Right Arrow Icon
Regular Expressions (2|3)(cat|cow) No: (empty string) Yes: 2cat Yes: 3cat Yes: 3cow No: 23cat No: 3catcow
Image of page 16
Tutorial 8 Regular Expression Examples Recursion in MIPS
Image of page 17

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

View Full Document Right Arrow Icon
Image of page 18
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