Session
I can kill your browser with a simple regexp
Regexps are useful, neat and dangerous. We write them, test if they match and push them to production happy that they solved our problems. And that's where the trouble begins. Uncarefully written regular expression may hang both frontend and backend apps severely harming user experience and causing headaches at debugging stage.
In my talk I'll scare you showing how easy it is to write a dangerous regexp. We'll see why a simple change in a regexp can lead to exponential performance degradation. To do that, I'll describe regexp engines' internals to show how regular expressions are interpreted.
After this talk you will know traps to avoid when using regexps in searching and validations. You will also understand how to optimise a regexp. Finally, you will be aware of the limitations of this tool that almost everybody uses.
Maciej Rząsa
Senior Software Engineer at Chattermill
Rzeszów, Poland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top