Fixed regex class name to Regexp