implemented map on cursor
added support for regex