public override Content /*!*/ EscapeRegularExpression()
            {
                StringBuilder sb = StringRegex.EscapeToStringBuilder(_data);

                return((sb != null) ? new StringContent(_owner, sb.ToString()) : this);
            }
Esempio n. 2
0
 internal static byte[] /*!*/ Escape(byte[] /*!*/ pattern)
 {
     // TODO: encoding
     return(BinaryEncoding.Obsolete.GetBytes(StringRegex.Escape(BinaryEncoding.Obsolete.GetString(pattern, 0, pattern.Length))));
 }