tangxu
2024-10-22 6a07c4c846ffbb1e93afdf0260e123e4c145f419
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace DPumpHydr.WinFrmUI.WenSkin.Json.Bson
{
    internal class BsonRegex : BsonToken
    {
        public BsonString Pattern { get; set; }
 
        public BsonString Options { get; set; }
 
        public override BsonType Type => BsonType.Regex;
 
        public BsonRegex(string pattern, string options)
        {
            Pattern = new BsonString(pattern, includeLength: false);
            Options = new BsonString(options, includeLength: false);
        }
    }
}