import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { RegexFind } = mongoose.Expression;
Properties
$regexFind: { input: Expression; regex: RegExp | string; options?: RegexOptions; }
Applies a regular expression (regex) to a string and returns information on the first matched substring.