decomp_regex revision

Adaptation for mac