Beispiel #1
0
        public static string Evaluate(string replacement, Match match)
        {
            ReplacementEvaluator replacementEvaluator = new ReplacementEvaluator(match.Regex, replacement);

            return(replacementEvaluator.Evaluate(match));
        }
Beispiel #2
0
		public static string Evaluate (string replacement, Match match)
		{
			ReplacementEvaluator ev = new ReplacementEvaluator (match.Regex, replacement);
			return ev.Evaluate (match);
		}
Beispiel #3
0
 virtual public string Result(string replacement, Match match)
 {
     return(ReplacementEvaluator.Evaluate(replacement, match));
 }
Beispiel #4
0
 public virtual string Result(string replacement)
 {
     return(ReplacementEvaluator.Evaluate(replacement, this));
 }