A fix for the memory plugin question mark regex

I added some preliminary specs to make sure the regex is correct in spec/lib/memory_plugin_spec.rb