public PatternReplaceCharFilterFactory(Map<String, String> args) {super(args);pattern = getPattern(args, "pattern");replacement = get(args, "replacement", "");if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PatternReplaceCharFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement", "");maxBlockChars = GetInt32(args, "maxBlockChars",#pragma warning disable 612, 618PatternReplaceCharFilter.DEFAULT_MAX_BLOCK_CHARS);#pragma warning restore 612, 618if (args.TryGetValue("blockDelimiters", out blockDelimiters)){args.Remove("blockDelimiters");}if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
