Regular Expressions - State Machine UML Diagram?
-
Wondering if anyone has a state machine diagram on how regular expressions accomplish there job? This way i can trace the diagram given a pattern and string input. Regex.IsMatch Regex.Replace Regex.Split just for learning purposes since i want to move deeper into interpretors and compilers. I already know how to implement regex in practice.
-
Wondering if anyone has a state machine diagram on how regular expressions accomplish there job? This way i can trace the diagram given a pattern and string input. Regex.IsMatch Regex.Replace Regex.Split just for learning purposes since i want to move deeper into interpretors and compilers. I already know how to implement regex in practice.
The book 'mastering Regular Expressions' from O Reilly has big chapters on how it all works internally.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )