Provided by: libmongodb-perl_1.8.1-1_amd64 

NAME
MongoDB::BSON::Regexp - Regular expression type
VERSION
version v1.8.1
ATTRIBUTES
pattern
A string containing a regular expression pattern (without slashes)
flags
A string with regular expression flags
METHODS
try_compile
my $qr = $regexp->try_compile;
Tries to compile the "pattern" and "flags" into a reference to a regular expression. If the pattern or
flags can't be compiled, a "MongoDB::DecodingError" exception will be thrown.
SECURITY NOTE: Executing a regular expression can evaluate arbitrary code. You are strongly advised
never to use untrusted input with "try_compile".
AUTHORS
• David Golden <david@mongodb.com>
• Rassi <rassi@mongodb.com>
• Mike Friedman <friedo@friedo.com>
• Kristina Chodorow <k.chodorow@gmail.com>
• Florian Ragwitz <rafl@debian.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by MongoDB, Inc.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
perl v5.26.1 2018-01-18 MongoDB::BSON::Regexp(3pm)