Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix the email regexp CPU usage for odd inputs #36
Some inputs could make the regexp engine in Ruby take up a lot of CPU time in order to check for a match of an email in the input string. This change adds a test to guard against an example of such an input and changes the email regexp so that all the tests pass and so that no excessive CPU usage occurs.