Removing Regex compile API because unity doesn't support it in stripped bytecode optimization