Couchbase.Search.Queries.Simple.RegexpQuery.RegexpQuery C# (CSharp) Method

RegexpQuery() public method

Initializes a new instance of the RegexpQuery class.
regex
public RegexpQuery ( string regex ) : System
regex string The regexp to be analyzed and used against. The regexp string is required.
return System
        public RegexpQuery(string regex)
        {
            if (string.IsNullOrWhiteSpace(regex))
            {
                throw new ArgumentNullException("regex");
            }
            _regex = regex;
        }