Skip to content

Chapter 5: Regular Expressions#7

Description

@chrisoemma

Regular expression or regex - we use them but don't love them! 馃槵 馃槅

According to Wikipedia, regular expressions are:

A sequence of characters that define a search pattern.

If Wikipedia is not enough you, check out grep.

Everyone knows grep. Its reputation precedes it. Maybe the most of us don't care for how it works, but we love it because, it just works.

With that said, the following is a deep-dive into Regular Expressions using Python. The aim of this issue is for us to better understand how grep works. Enjoy!

--

Discussion Points

  • Case Study: Street Addresses
  • Case Study: Roman Numerals
  • Using the {n,m} Syntax
  • Case Study: Parsing Phone Numbers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

class notesNew class notes or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions