theforeman/foreman — pull request #734 by iNecas (2013-06-20 13:14:27+00:00)
Title: fixes #2685 incorrect and inefficient regexp checking madium name format

It takes eternity to compute something like this:

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa b" =~ /\A(\S+\s?)+\Z

Also "this is wrong " was not matched