DEV Community

Regular expressions: how do they work?

Paweł Świątkowski on April 04, 2018

This has been originally posted on my personal blog. Dear programmer! I think it's time we talk about regular expressions. What do you think? ...
Collapse
 
17cupsofcoffee profile image
Joe Clay

This is a fantastic article, always struggled to get my head around how this stuff works but you explained it really clearly! Reminds me of Andrew Gallant's blog post about how he used finite state machines to index text really (really, really) fast - worth a read if this kind of stuff is your jam :)

Collapse
 
pvafc profile image
Prasanth Vaaheeswaran

Hey great post, I was wondering, what tool did you use to create those diagrams!

Collapse
 
katafrakt profile image
Paweł Świątkowski

Thank you! Diagrams were created using Graphviz. Here I put some examples (the first and the last diagram from post): gist.github.com/katafrakt/d9458d61...

Collapse
 
lyon profile image
Lyon

Very good post. thank you for writing it.

Collapse
 
artyom profile image
Artyom Yakovenko • Edited

Great post! Looking forward to the 2nd part!

Collapse
 
krumpez profile image
Amine

great article, i studied this back at the university i think it was called language theory