Converts handles from top,bottom,left,right to north,south,west,east. Updates regex handling.