Thread:Project:Support desk/Delete various Memcache by regex matching the keys

I store lots of queries in one extension using $key = wfMemcKey( 'NewPagesMC', $id, $limit, $offset );

Now I want to flush them in another extension using the ArticleSave hook.

Can I match the keys using regex or should I call the hook on each query when I store the memcache?