Remove generic implementation for EReg.map and fix misleading documentation.

Every platform implementation handles the "global" flag.
Merge pull request #2359 from nadako/ereg_map_cleanup

Remove generic implementation for EReg.map and fix misleading documentation.