When I learned about Finite State Machines as part of my college degree, I glanced past the formal definition and thought, this is a very
Category: Coding Patterns
Before I begin, thanks to Suraj Pal, for his comments that improved this post. Now onto the scenario.Suppose you are working with a C/C++ function,
![](https://blog.edwinclement08.com/wp-content/uploads/2020/08/regex-resized.jpeg)
Regex or Regular Expression is a super powerful way for searching in text when you don’t know exactly what you want to find, but have