RubyFlow The Ruby and Rails community linklog

Performance of Regular Expressions

Regexps are useful, neat and dangerous. Uncarefully written regular expression may hang both frontend and backend apps severely harming user experience and causing headaches at debugging stage. Read our blogpost on regexp performance to see when it could happen, understand how the regular expression engine work and what to do to optimize regexps. Benchmarks, real-word stories, step-by-step analyses and live examples included!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in