Because RegexOptions members (e.g. RegexOptions.None) aren't currently compile time constants they cannot be used as function default parameters. They should probably be made simple integer constants and an implicit cast from integers should be provided.