Here's a graph generator; if you want to visualize what I'm talking about: regexper.com/#a(b%7Cc)*d
The explanation of the concepts came from a university course though... maybe I should do an article about this so I can link it as an explanation of what I'm talking about...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Seeing Regular Expressions drawn into their finite state machine graphs (just circles with arrows between them).
That it's just moving from one state to another based on matching a character. And all regex could boil down to a language of four things:
c
match any literal character (likec
)|
or operation (match this or that)*
loop()
groupThe rest of it mostly being helpful sugar.
Do you have link of that?
Here's a graph generator; if you want to visualize what I'm talking about: regexper.com/#a(b%7Cc)*d
The explanation of the concepts came from a university course though... maybe I should do an article about this so I can link it as an explanation of what I'm talking about...