Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (29 sloc) 0.853 kb
45cd3a7 @lanwin Introduce MongoRegexOption which allows to simply set the option with…
lanwin authored
1 using System;
2
3 namespace MongoDB
4 {
5 /// <summary>
6 /// Mongo Regex options
7 /// </summary>
8 [Flags]
9 public enum MongoRegexOption
10 {
11 /// <summary>
12 /// Specifies that no options are set.
13 /// </summary>
14 None = 0,
15 /// <summary>
16 /// i - Specifies case-insensitive matching.
17 /// </summary>
18 IgnoreCase = 1,
19 /// <summary>
20 /// m - Multiline mode. Changes the meaning of ^ and $ so they match at the beginning
21 /// and end, respectively, of any line, and not just the beginning and end of the
22 /// entire string.
23 /// </summary>
24 Multiline = 2,
25 /// <summary>
26 /// g - Eliminates unescaped white space from the pattern.
27 /// </summary>
f264954 @CaptainCodeman Convert RegexOptions to MongoRegexOption when translating expression …
CaptainCodeman authored
28 IgnorePatternWhitespace = 4
45cd3a7 @lanwin Introduce MongoRegexOption which allows to simply set the option with…
lanwin authored
29 }
30 }
Something went wrong with that request. Please try again.