Json.NET - Quick Starts & API Documentation
WriteRegex Method (pattern, options)
Namespaces ► Newtonsoft.Json.Bson ► BsonWriter ► WriteRegex(String, String)
Writes a BSON regex.
Declaration Syntax