Added 'ereg' extension