Using underscore for each and map functions
path to regex conversion WIP