365 Days of Python: Day #22 — Enigmatic Expressions

Rick Deckard
2 min readDec 8, 2022

The word expression can mean a lot of different things.

In math, it is defined as a finite combination of symbols that is well-formed according to rules that depend on the context.

In people, it is defined as one or more motions or positions of the muscles beneath the skin of the face.

However, in programming, [regular] expressions are a tool that can help you find strings in text.

Unfortunately, constructing these regular expressions can be your worst nightmare.

Day #22 (12/6/2022)

“If you aren’t in over your head, how do you know how tall you are?”

— T.S. Eliot

Accomplishments

  • Read about RegEx
  • Found some online resources to help me practice RegEx

Weekly Goals

  • Learn the basics of RegEx (10%)
  • Write a program that simulates Tic-Tac-Toe (0%)

Closing Thoughts

I expect this week to be difficult.

I have minimal experience with RegEx during my semester-long course in college; however, I remember little-to-nothing.

Similar to how I approached other courses in college, I trained my brain to memorize concepts until an assignment was due or an exam was being held. Afterwards, my brain would flush those memorized concepts down a metaphorical toilet.

This time around, though, I plan to learn and retain concepts.

--

--