Made it portable: trimmed AppSettings constructor and swapped RegexOptions.Compiled to RO.None.