Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: typedcollectio…
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (29 sloc) 0.853 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
using System;

namespace MongoDB
{
    /// <summary>
    /// Mongo Regex options
    /// </summary>
[Flags]
    public enum MongoRegexOption
    {
        /// <summary>
        /// Specifies that no options are set.
        /// </summary>
        None = 0,
        /// <summary>
        /// i - Specifies case-insensitive matching.
        /// </summary>
        IgnoreCase = 1,
        /// <summary>
        /// m - Multiline mode. Changes the meaning of ^ and $ so they match at the beginning
        /// and end, respectively, of any line, and not just the beginning and end of the
        /// entire string.
        /// </summary>
        Multiline = 2,
        /// <summary>
        /// g - Eliminates unescaped white space from the pattern.
        /// </summary>
        IgnorePatternWhitespace = 3
    }
}
Something went wrong with that request. Please try again.