Skip to content

Regular expressions in-class exercise based on XKCD cartoon

Notifications You must be signed in to change notification settings

UO-CIS211/Regex-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Regex-exercise

Regular expressions in-class exercise based on XKCD cartoon

Your mission

HOWTO

File detective.py is the skeleton code. It reads lines of text from clues.txt and prints any part of a line that matches CLUE_PATTERN. The initial clue pattern just matches integers.

  • Part 1: Modify CLUE_PATTERN to match email addresses

  • Part 2: Modify CLUE_PATTERN to match street addresses. This is harder.

About

Regular expressions in-class exercise based on XKCD cartoon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages