fixed regex support for getting data