fix for regex for Mono