Bug fixed on RegExp testing file