Concept Flow - Why regex enables pattern matching
Input string and pattern
Apply regex engine
Check pattern against string
Match found
Return True
The regex engine takes a pattern and input string, checks if the pattern fits anywhere in the string, and returns True if it matches or False if not.