Exemplo n.º 1
0
        public static SqlString regexReplace(SqlString replaceWith, SqlString functionString, SqlString columnString)
        {
            var compStrings = new CompStrings(functionString, columnString, replaceWith);
            var regex       = new SQLServerRegexReplace(opts, compStrings.from);

            return(new SqlString(regex.regexReplace(compStrings.replace, compStrings.to)));
        }
 public static SqlString regexReplace(SqlString replaceWith, SqlString functionString, SqlString columnString)
 {
     var compStrings = new CompStrings(functionString, columnString, replaceWith);
     var regex = new SQLServerRegexReplace(opts, compStrings.from);
     return new SqlString(regex.regexReplace(compStrings.replace, compStrings.to));
 }