예제 #1
0
        public HtmlTypographerSettings Replace(string pattern, string replacement,
                                               StringReplacementMode mode, RegexOptions options)
        {
            StringReplacementRule rule = new StringReplacementRule(mode, pattern, replacement);

            rule.Options = options;

            Replacements.Add(rule);
            return(this);
        }
		public HtmlTypographerSettings Replace(string pattern, string replacement,
			StringReplacementMode mode, RegexOptions options)
		{
			StringReplacementRule rule = new StringReplacementRule(mode, pattern, replacement);
			rule.Options = options;
			
			Replacements.Add(rule);
			return this;
		}