Skip to content

Chapter 5: Regular ExpressionsΒ #7

@chrisoemma

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

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