Fix security warning from Rails 4 related to regepx anchors
Merge pull request #1579 from ferrous26/security-fix

Fix security warning from Rails 4 related to regepx anchors