tutorial8

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

Info iconThis 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]
Background image of page 1

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

View Full DocumentRight Arrow Icon
Tutorial 8 • Regular Expression Examples • Recursion in MIPS
Background image of page 2
Tutorial 8 • Regular Expression Examples • Recursion in MIPS
Background image of page 3

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

View Full DocumentRight Arrow Icon
Regular Expressions r No: (empty string) Yes: r No: rr No: s
Background image of page 4
Regular Expressions r|s No: (empty string) Yes: r No: rr Yes: s No: rs
Background image of page 5

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

View Full DocumentRight Arrow Icon
Regular Expressions r* Yes: (empty string) Yes: r Yes: rr No: s
Background image of page 6
Regular Expressions r*|s Yes: (empty string) Yes: r Yes: rr Yes: s No: rs
Background image of page 7

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

View Full DocumentRight Arrow Icon
Regular Expressions the|re No: (empty string) Yes: the Yes: re No: there No: the|re
Background image of page 8
Regular Expressions the(re)* No: (empty string) Yes: the No: re Yes: there Yes: therere
Background image of page 9

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

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

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

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

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

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

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

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

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

View Full DocumentRight Arrow Icon
Image of page 18
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/28/2011 for the course CS 230 taught by Professor Bb during the Spring '11 term at Waterloo.

Page1 / 24

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

This preview shows document pages 1 - 18. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online