|
MongoDB\BSON\Regex::getPatternReturns the Regex's pattern Description
final public string MongoDB\BSON\Regex::getPattern()
ParametersThis function has no parameters. Return ValuesReturns the Regex's pattern. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Regex::getPattern example
The above example will output something similar to: string(5) "regex" See Also |