internal CompiledRegexReplacement Compile(IResourceContext context)
 {
     return(new CompiledRegexReplacement(
                Pattern.GetStringValue(context),
                Replacement.GetStringValue(context),
                Replacement.GetValue(context)));
 }