Fix Regex handling for DHParams for FreeBSD