Update plugin.rb

fixed an unescaped dot in the REGEX