public override void LoadConfig(FXmlNode config) { base.LoadConfig(config); _description = config[PTY_DESCRIPTION]; _parttern = config[PTY_PARTTERN]; if ("{filename}".EndsWith(_parttern, StringComparison.CurrentCultureIgnoreCase)) { _parttern = PTN_FILENAME; } if (!RString.IsEmpty(_parttern)) { _partternChars = RString.MakePattern(_parttern); } }