public  PatternCaptureGroupFilterFactory(Map<String,String> args) {super(args);pattern = getPattern(args, "pattern");preserveOriginal = args.containsKey("preserve_original") ? Boolean.parseBoolean(args.get("preserve_original")) : true;}

public PatternCaptureGroupFilterFactory ( Map < String , String > args ) { super ( args ) ; pattern = getPattern ( args , "pattern" ) ; preserveOriginal = args . containsKey ( "preserve_original" ) ? Boolean . parseBoolean ( args . get ( "preserve_original" ) ) : true ; }
public PatternCaptureGroupFilterFactory(IDictionary<string, string> args): base(args){pattern = GetPattern(args, "pattern");preserveOriginal = args.TryGetValue("preserve_original", out string value) ? bool.Parse(value) : true;}
