Update Plugin.class.php

fixed $matches[..] to use numeric keys in order to be compatible with php 5.2